aspose 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
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: 83

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: 83

also, Now i am receiving this.



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404 resource not found when rendering JSP in struts 2.