thanks
follow up --
does this mean any config info in default-web.xml is incorporated into any deployed servlet ?
thanks again
gary
----- Original Message -----
From: Jan Luehe
To: users_at_glassfish.dev.java.net
Sent: Wednesday, February 10, 2010 11:24 AM
Subject: Re: simple jsf web app servlets ???
On 02/10/10 11:17 AM, emiddio-verizon wrote:
netbeans shows/says 3 servlets are part of a simple jsf web app i am learning from.
i am deployed to glassfish v2.1.1
they are
default
Faces Servlet
jsp
only Faces Servlet appears in the web.xml --
what are the others ? what are their class names?
why are they not in web.xml ?
They're inherited from the domain's default-web.xml:
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
[...]
</servlet>
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
[...]
</servlet>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Jan
thanks
gary