This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Parsing error processing resource path /WEB-INF/struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Parsing error processing resource path /WEB-INF/struts-config.xml" Watch "Parsing error processing resource path /WEB-INF/struts-config.xml" New topic
Author

Parsing error processing resource path /WEB-INF/struts-config.xml

jferreira jferreira teste
Greenhorn

Joined: Jan 11, 2010
Posts: 5
am using : apache-tomcat-4.1.40

I can not understand what is happening.....
****struts-config.xml****



***Error*****
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Please put the configuration in [code] [/code] tags. Read this. Is your struts-config.xml file in the WEB-INF directory??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
jferreira jferreira teste
Greenhorn

Joined: Jan 11, 2010
Posts: 5
Yes! this is my web.xml file.

Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

"jferreira jferreira teste" please check your private messages for some administrative matter...
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

I'm not a Struts 1.x guru, but this line seems to be wrong

Isn't the path attribute's value supposed to start with /
jferreira jferreira teste
Greenhorn

Joined: Jan 11, 2010
Posts: 5
Thank you, yes it was one of the many errors that should have
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

jferreira jferreira teste wrote:Thank you, yes it was one of the many errors that should have

"that should have" what?? Did it solve the problem or not??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Parsing error processing resource path /WEB-INF/struts-config.xml
 
Similar Threads
<global-forwards> problem in struts-config.xml
Exception:500 org.apache.jasper.JasperException: java.lang.NullPointerException
Getting Http 404 Error while running Strut Application
javax.servlet.jsp.JspException: Exception creating bean of class com.LoginForm ????
can't find this error .i got this error in strut