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 Jsp is not getting displayed in struts2 using eclipse. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Jsp is not getting displayed in struts2 using eclipse." Watch "Jsp is not getting displayed in struts2 using eclipse." New topic
Author

Jsp is not getting displayed in struts2 using eclipse.

sneha ulhe
Ranch Hand

Joined: May 15, 2012
Posts: 45

In struts2 application simple jsp is not getting displayed in browser.it displaying

HTTP status 404-The requested resource (/IBIS_struts/Home.jsp) is not available.

what could be the problem?

Sneha
[OCJP 6]
rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 132

Check your WEB-INF/web.xml file and struts-confing.xml files.

You can post them here so that we can help.

Rohit
sneha ulhe
Ranch Hand

Joined: May 15, 2012
Posts: 45

These are the web.xml and struts.xml files.
web.xml:-



struts.xml:-

rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 132

Try changing "/Home.jsp" to "Home.jsp" in web.xml

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp is not getting displayed in struts2 using eclipse.