File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Error in struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error in struts-config.xml" Watch "Error in struts-config.xml" New topic

Error in struts-config.xml

Maheswaran Devaraj
Ranch Hand

Joined: Sep 14, 2007
Posts: 47
Hi all,

I'm new to struts framework. When I try to match values in the struts-config.xml I got the error like this"Input path value must point to a valid object". I couldn't identify why it is coming... My code is following:

<action path="/Guess"
<forward name="Continue" path="/ContinueGuessing.jsp" />
<forward name="ItsOver" path="/GameOver.jsp" />

Maheshwaran Devaraj
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The input path is not considered valid unless it begins with a "/", so change input="index.jsp" to input="/index.jsp".

Consultant, Sima Solutions
Maheswaran Devaraj
Ranch Hand

Joined: Sep 14, 2007
Posts: 47
Hi Merrill,

Thanks for your reply. I did it

Maheshwaran Deveraj
I agree. Here's the link:
subject: Error in struts-config.xml
It's not a secret anymore!