aspose file tools
The moose likes Struts and the fly likes How Struts2.xml is Configured... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How Struts2.xml is Configured..." Watch "How Struts2.xml is Configured..." New topic

How Struts2.xml is Configured...

Maneessh saxena
Ranch Hand

Joined: Oct 03, 2006
Posts: 125
Hi all,

I wanna know that how Struts2.xml is searched by container ... which has the action details. Is't taken by container automatically if it's there's in classpath ??? ..............

SCJP 1.4, SCWCD 1.5
David Newton

Joined: Sep 29, 2008
Posts: 12617

The struts.xml file, if needed, is expected to be at the root level on the classpath.
It is sorta covered in the JavaRanch Style Guide.
subject: How Struts2.xml is Configured...