Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 resource not found when rendering JSP in struts 2.

 
Yuta Lolap
Ranch Hand
Posts: 86
Eclipse IDE Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 86
Eclipse IDE Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
also, Now i am receiving this.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic