This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 9400
    
  20

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: struts.xml file
 
It's not a secret anymore!