File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts problem" Watch "struts problem" New topic
Author

struts problem

Sajid Qureshi
Greenhorn

Joined: Sep 06, 2004
Posts: 1
i m using tomcat5 with struts1.2.2 ...when i deploy struts-blank.war or struts-mailreader.war(examples comes with struts) and start tomcat it throws error
StandardContext[/struts-blank]Marking servlet action as unavailable
2004-03-09 00:15:37 StandardContext[/struts-blank]Servlet /struts-blank threw load() exception
javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:174)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:211).
......... and many lines

after this when run in browser it says .. Action servlet not available
..can anyone solve my problem ... thanx in advance
Tony Montana
Greenhorn

Joined: Sep 15, 2004
Posts: 1
Hi
I had exactly the same problem and finally I "realized" that I had to be connected to internet as the mentionned xml files (validation.xml and validator-rules.xml) are referencing dtd files on jakarta.org;
Hope it will help you
Cheers
 
GeeCON Prague 2014
 
subject: struts problem