This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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.
I agree. Here's the link:
subject: How Struts2.xml is Configured...
jQuery in Action, 3rd edition