| Author |
How application server loads struts.xml in context?
|
Manuj Roy
Greenhorn
Joined: Feb 17, 2011
Posts: 7
|
|
Hi,
Can someone please help me understand how the application server gets to know about the location of struts.xml and whether it has to load it or not.
Cheers!
Manuj
|
 |
amarjeet teotia
Greenhorn
Joined: Jun 02, 2006
Posts: 1
|
|
Manuj Roy wrote:Hi,
Can someone please help me understand how the application server gets to know about the location of struts.xml and whether it has to load it or not.
Cheers!
Manuj
Hi Manuj,
basically in struts 1.x it is picked from WEB INF folder automatically and in 2.x we put it in classpath so that server loads it at start up...
cheers
Amar
|
 |
Manuj Roy
Greenhorn
Joined: Feb 17, 2011
Posts: 7
|
|
Hi Amarjeet,
Thanks for your response, I got your point, but i have an attached question does this mean that when we specify "struts" in web.xml as filter mapping - it guides the application server to pick up struts related configuration in the context?
Regards,
Manuj
|
 |
 |
|
|
subject: How application server loads struts.xml in context?
|
|
|