wood burning stoves 2.0*
The moose likes Struts and the fly likes Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error "HTTP Status 404 - Invalid path /products was requested"" Watch "Error "HTTP Status 404 - Invalid path /products was requested"" New topic
Author

Error "HTTP Status 404 - Invalid path /products was requested"

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
Iam keep on getting the following error :-

HTTP Status 404 - Invalid path /products was requested

--------------------------------------------------------------------------------

type Status report

message Invalid path /products was requested

description The requested resource (Invalid path /products was requested) is not available.


--------------------------------------------------------------------------------

Whats the reason behind this ?
Error on ecplise console:-
Sep 17, 2009 3:36:48 PM org.apache.struts.action.RequestProcessor processMapping
SEVERE: Invalid path /products was requested

struts-config.xml:-


products.jsp:-


homepage.jsp:-


What i want , on the onLoad of products.jsp all the data from database should come when the page gets loaded.
Any suggestion where i went wrong ?
Thanks in advance


Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9305
    
  17

No action named products is confiigured in your struts-config.xml file (there is one entry but it is commented)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
jQuery in Action, 2nd edition
 
subject: Error "HTTP Status 404 - Invalid path /products was requested"