• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How application server loads struts.xml in context?

 
Greenhorn
Posts: 7
MyEclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 7
MyEclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic