Tuesday, April 5, 2011

JSP page displaying - oops

Problem: When I run my program, the index.jsp page is displaying, but the servlet is the page that should be displayed.

Impact: Well, the wrong page is loading and there is no content that I want to work with on the JSP page, all my code and the program I wrote are on the servlet page I developed.

Solution: I realize that I did not set my <welcome-page> in my web.xml file to represent that my servlet page was to load first, not the JSP page.

No comments:

Post a Comment