File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

struts problem

Sajid Qureshi

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(
at org.apache.struts.action.ActionServlet.initModulePlugIns(
at org.apache.struts.action.ActionServlet.init(
at javax.servlet.GenericServlet.init(
......... 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

Joined: Sep 15, 2004
Posts: 1
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;
Hope it will help you
I agree. Here's the link:
subject: struts problem
It's not a secret anymore!