• Dear Guest, Please do NOT forget to join our JAVA JOBS (ONLY) FACEBOOK GROUP to be aware of latest JAVA openings, and you may also post any JAVA related queries/jobs.

web.xml tags

#2
hi...
i need tags of web.xml...
any one please send me all tags of web.xml

The Web.xml tags are

<web-app>
<discription>//optional
<display>//optional
<Servlet>
<Servlet-name>
<Servlet-class>
</Servlet>
<param>
<param-name>
<param-value>
</param>
<servlet-mapping>
<servlet-name>//whatever name u provide in the servlet tag of servlet-name,that mame should be give.
<url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file-name>our indexed.jsp page</welcome-file-name>
</welcome-file-list>
</web-app>
 
#3
Also Filter tags too

<filter>
<filter-name>filter-name</filter-name>
<filter-class>org.com.filterclass</filter-class>
<init-param>
<param-name>param</param-name>
<param-value>WARN</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>filter-name</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
 
Top