• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp is not getting displayed in struts2 using eclipse.

 
sneha ulhe
Ranch Hand
Posts: 52
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
rohit chavan
Ranch Hand
Posts: 132
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are the web.xml and struts.xml files.
web.xml:-



struts.xml:-

 
rohit chavan
Ranch Hand
Posts: 132
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try changing "/Home.jsp" to "Home.jsp" in web.xml

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!