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

regarding the web.xml

Prasath Thirumoorthy
Ranch Hand

Joined: Jul 23, 2004
Posts: 65
Hi Friends,

In the web.xml file consider this part

Can u explain in detail whats the value 2 mentioned in debug,detail and load on startup mean it.What happens if i give those values as 50,60 and 70 respectively to those values.

Help me ...Im not clear in this ...

Thanks & Regards,


David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
These are some Struts internal settings, so best is to check struts homepage.

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
bhuvan sundar
Ranch Hand

Joined: Mar 02, 2005
Posts: 104
The debug initialization parameter lets you set the level of detail in the debug log. A lower number means lesser details and a higher number implies detailed logging.

The detail initialization parameter lets you set the level of detail in the digester log. Digester is the component that parses the Struts Config file and loads them into Java objects. Some of the errors can be traced by looking at the log created by the Digester as it parses the XML file.

<load-on-startup/> is a required element in all web applications. The content of this element shld be a positive integer which indicates the order in which the servlet shld be loaded. Lower integers are loaded before higher integers.
I agree. Here's the link:
subject: regarding the web.xml
It's not a secret anymore!