Friends,
What i have given beneath is a sample of web.xml containing the elements in a proper order (I guess )..Can some one help me in inserting the other required elements appearing in the order, especially the taglib based elements.
Thanx in advance
Srini
Filters
--------------------------------
<filter>
<filter-name></filter-name>
<filter-class></filter-class>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name></filter-name>
<url-pattern></url-pattern >
<dispatcher></dispatcher>
</filter-mapping>
Listeners
------------------------------------
<listener>
<listener-class></listener-class>
</listener>
Servlets
--------------------------------------
<servlet>
<servlet-name></servlet-name>
<servlet-class></servlet-class>
<filter-name></filter-name>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name></servlet-name>
<url-pattern></url-pattern >
</servlet-mapping>
JSP
---------------------------
<servlet>
<servlet-name></servlet-name>
<jsp-file></jsp-file>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
<load-on-startup></load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name></servlet-name>
<url-pattern></url-pattern>
</servlet-mapping>
jsp-config
--------------------------
<jsp-config>
<jsp-property-group>
<url-pattern></url-pattern>
<scripting-invalid></scripting-invalid>
<el-ignored></el-ignored>
</jsp-property-group>
</jsp-config>
Session
------------------------------------------
<session-config>
<session-timeout></session-timeout>
</session-config>
Error page
------------------------------------------------
<error-page>
<error-code></error-code>
<location></location>
</error-page>
<error-page>
<exception-type></ exception-type f>
<location></location>
</error-page>
Taglib
-----------------------------------------------
<taglib>
<taglib-uri></taglib-uri>
<taglib-location></taglib-location>
</taglib>
What i have given beneath is a sample of web.xml containing the elements in a proper order (I guess )..Can some one help me in inserting the other required elements appearing in the order, especially the taglib based elements.
Thanx in advance
Srini
Filters
--------------------------------
<filter>
<filter-name></filter-name>
<filter-class></filter-class>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name></filter-name>
<url-pattern></url-pattern >
<dispatcher></dispatcher>
</filter-mapping>
Listeners
------------------------------------
<listener>
<listener-class></listener-class>
</listener>
Servlets
--------------------------------------
<servlet>
<servlet-name></servlet-name>
<servlet-class></servlet-class>
<filter-name></filter-name>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name></servlet-name>
<url-pattern></url-pattern >
</servlet-mapping>
JSP
---------------------------
<servlet>
<servlet-name></servlet-name>
<jsp-file></jsp-file>
<init-param>
<param-name></param-name>
<param-value></param-value>
</init-param>
<load-on-startup></load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name></servlet-name>
<url-pattern></url-pattern>
</servlet-mapping>
jsp-config
--------------------------
<jsp-config>
<jsp-property-group>
<url-pattern></url-pattern>
<scripting-invalid></scripting-invalid>
<el-ignored></el-ignored>
</jsp-property-group>
</jsp-config>
Session
------------------------------------------
<session-config>
<session-timeout></session-timeout>
</session-config>
Error page
------------------------------------------------
<error-page>
<error-code></error-code>
<location></location>
</error-page>
<error-page>
<exception-type></ exception-type f>
<location></location>
</error-page>
Taglib
-----------------------------------------------
<taglib>
<taglib-uri></taglib-uri>
<taglib-location></taglib-location>
</taglib>