Hi,
Setup the Context for your application. See the default Context in the
server.xml file. To see your run without setting up Context, place you
code in default example context i.e. <tomcathome>/webapps/examples/web-
inf/classes
and run by typing the following
http://localhost:8080/examples/servlet/com.archana.is_project.bookstore.wel
come
Refer Tomcat documentation on how to set up Context
regards
Ashish
> Hi all,
I> am following the Professional JSP 2nd edition.
M> y Tomcat version is 4.1.12.
I> n the thrid cahpter, according to the "your first web application"
section
I> created my docroot as
> CATALINA_HOME\webapps\IS_Project\WEB-INF\classes
> I saved the servlet at
.> .....classes\com\archana\is_project\bookstore\welcome.java
> I compiled the servlet successfully,and when I try to access the servlet
t> hrough the browser
h>
ttp://localhost:8080/IS_Project/Servlet/com.archana.is_project.bookstore.we
lcome
> I am getting the source /IS_project/servlet/com.archana......
n> ot found.
I> stoped and started the Tomcat.IS there anywhere I have to map,please
help
m> e.As I have to submit my school project I really appreciate any kind of
help.
> -Archana
>