File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes 404 resource not found  when rendering JSP in struts 2. 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 "404 resource not found  when rendering JSP in struts 2." Watch "404 resource not found  when rendering JSP in struts 2." New topic
Author

404 resource not found when rendering JSP in struts 2.

Yuta Lolap
Ranch Hand

Joined: Jun 03, 2012
Posts: 80

Hi all,
following are the files. I am trying to invoke index.jsp which is making a jquery ajax call to action class HelloAction and then returna success to which it displays hello.jsp
index.jsp and hello.jsp are in JSP folder under Web-Content. Struts2.xml file is under classes folder under WEB-INF. There is a package com.server which contains HelloAction.java file.

Mapping is /* .action.

I am getting 404 Resource not found. Please can you tell me as to why i am getting this error?







index.jsp


hello.jsp




Yuta Lolap
Ranch Hand

Joined: Jun 03, 2012
Posts: 80

also, Now i am receiving this.



 
jQuery in Action, 2nd edition
 
subject: 404 resource not found when rendering JSP in struts 2.
 
Similar Threads
STRUTS example not running
Struts 404 error
Http 404 resource() not found error?
There is no Action mapped for namespace / and action name getTutorial. - [unknown location]
The requested resource () is not available.