This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use in web.xml file

 
naval kumar
Ranch Hand
Posts: 37
  • 0
  • 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: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic