Hi all,
I was trying to obtain configuration information from the application web.xml file
The steps I followed as follows:-
created directory structure under C: in
tomcat folder as-
webapps->dinesh1-WEB-INF->classes
web.xml
This file is kept in my WEB-INF Folder)
The ConfigDemoServlet.java –(This is kept in classes folder under WEB-INF and has been compiled as well)
Server Started Successfully
Local host is running fine
But when I provide the url:
http://localhost:8080/dinesh1/ConfigDemoServlet
It shows 404 error
Where I went wrong ? May help me please.