• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts problem

 
Sajid Qureshi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic