The
JSP is not showing by giving the URL
pattern to which it is mapped in DD.
I have made a very simple application ( It is for
testing. )
The directory structure is
JspDemo <- project directory
-- First.jsp (This is in JspDemo.)
-- WEB-INF (This is in JspDemo.)
-- web.xml ( This is in WEB-INF.)
web.xml contains
and First,jsp is a simple JSP which counts number of times it is opened i.e. hits.
Now when i am giving the URL
http://localhost:8080/JspDemo/first.jsp
It is giving me the error
HTTP Status 500 with "javax.servlet.ServletException: No
servlet class has been specified for servlet First".
And if i am manually calling the JSP by URL
http://localhost:8080/JspDemo/First.jsp or loading it on startup by using
load-on-startup tag in DD then it is giving me the error.
Http 404 error with message "Servlet First is not available".
please anyone help me out.