File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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...
It's not a secret anymore!