Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use in web.xml file

 
naval kumar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65111
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sagar Vyas
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic