File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes web.xml details ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "web.xml details ?" Watch "web.xml details ?" New topic
Author

web.xml details ?

kamesh aru
Ranch Hand

Joined: Mar 16, 2002
Posts: 150
in the web.xml
what does fallowing fields stand for


<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>


what is param meter value for debug , detail and load on start up stand for ?
thanks in advance
Chiaw Huat Lee
Greenhorn

Joined: Oct 24, 2004
Posts: 15
Hi,

<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>


You can remove the tag debug.The load-on-startup tag means...when this web.xml been load at the very first time, the 'detail' param will be load
first (if you change the number to 1).

Hope it helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml details ?