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 struts.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts.xml file" Watch "struts.xml file" New topic
Author

struts.xml file

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
i found these code in my struts.xml file



what are the use of
1)

2)
what are the use of


3)are these codes required for every file?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

This must be in the web.xml not struts.xml. The config init parameter tells struts where to look for the struts configuration file. You can find the details about initialization parameters of ActionServlet here...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: struts.xml file