• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts.xml in struts 2.1

 
asif rafique
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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).
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!