wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 131

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

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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Jsp is not getting displayed in struts2 using eclipse.
 
Similar Threads
Struts2
Problem of <frameset> tag with struts2
Struts2 Validation problem
STRUTS2
Iterating a Array in Struts2