• 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

struts.xml in struts 2.1

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone

i m using Struts 2.1.6 and jboss 5.0.GA in my application every thing is working fine but when i switched to new version of jboss which is 5.1.GA what i found is that server cannot find the struts.xml.
i placed struts.xml in WEB-INF folder
server logged on its console

Cannot locate configuration file struts.xml skipping



Any idea
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
struts.xml should be on the classpath unless you explicitly configure it to be in a non-default location (personally, I'd just leave it on the classpath).

If that's not it I vaguely recall there being an issue that may have been resolved in XW/S2; searching the struts-user mailing list might turn it up. Or the JIRA (issue tracker).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic