wood burning stoves 2.0*
The moose likes JSP and the fly likes Use in web.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Use in web.xml file" Watch "Use in web.xml file" New topic
Author

Use in web.xml file

naval kumar
Ranch Hand

Joined: Jul 08, 2012
Posts: 37
Dear Sir I want to Know the Use of Entry In Web.xml . why we Use ??

1- <context-param>
<param-name>broadvision.demand.uploadAppName</param-name>
<param-value>comcenter</param-value>
</context-param>

2-<context-param>
<param-name>broadvision.demand.cssName</param-name>
<param-value>FA_CSS</param-value>
<description> Style for Commerce Foundation Application. </description>
</context-param>

3- <filter>

<filter-name>User-Session Validation Filter </filter-name>
<filter-class><!-- com.ireps.common.SessionFilter --></filter-class>

</filter>

4- <filter-mapping>

<filter-name>User-Session Validation Filter</filter-name>
<url-pattern>*.do</url-pattern>

</filter-mapping>
5- <init-param>
<param-name>detail</param-name>
<param-value>0</param-value>
</init-param>
6- <mime-mapping>
<extension>asx</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60764
    
  65

The best place to find this information is in the Servlets Specification. Please look up these values and let us know if you still have problems understanding their use.

Remember, you need to ShowSomeEffort on your own.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sagar Vyas
Greenhorn

Joined: Feb 17, 2013
Posts: 10
naval kumar wrote:Dear Sir I want to Know the Use of Entry In Web.xml . why we Use ??

1- <context-param>
<param-name>broadvision.demand.uploadAppName</param-name>
<param-value>comcenter</param-value>
</context-param>

2-<context-param>
<param-name>broadvision.demand.cssName</param-name>
<param-value>FA_CSS</param-value>
<description> Style for Commerce Foundation Application. </description>
</context-param>

3- <filter>

<filter-name>User-Session Validation Filter </filter-name>
<filter-class><!-- com.ireps.common.SessionFilter --></filter-class>

</filter>

4- <filter-mapping>

<filter-name>User-Session Validation Filter</filter-name>
<url-pattern>*.do</url-pattern>

</filter-mapping>
5- <init-param>
<param-name>detail</param-name>
<param-value>0</param-value>
</init-param>
6- <mime-mapping>
<extension>asx</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>


Hi Kumar,

Or you can check this.

http://docs.oracle.com/cd/E13222_01/wls/docs81/webapp/web_xml.html

HTH.

Thanks,
Sagar Vyas


Sagar Vyas
"More Sharing and More Learning"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use in web.xml file
 
Similar Threads
Mistakenly changed web.xml
Error page configured in web.xml not working
Java to Display Data from Database
jpa2web with tomcat problem
Apache2 / Tomcat 6 / GWT 2.0 - Could use some help