[forge-dev] Bug? adding servlet to web.xml
Brian Leathem
bleathem at gmail.com
Sun Apr 3 03:24:23 EDT 2011
On 04/03/2011 12:08 AM, Brian Leathem wrote:
> descriptor.servlet("Faces Servlet", FacesServlet.class.getName(),
> "*.jsf", "/faces/*");
And nevermind... I shouldn't have tried to pass the class by name. This
should be:
descriptor.servlet("Faces Servlet", FacesServlet.class, new String[]
{"*.jsf", "/faces/*"}); // varargs would be nice here
Sorry for the SPAM!
Brian
More information about the forge-dev
mailing list