Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts.xml file