S
Sameer
Hello,
I have installed Tomcat 5.5 on Windows 2000.
It's default application is located at:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\ROOT\index.jsp
If I put any vaild jsp file like Hello.jsp then I can run it using:
http://localhost:8080/Hello.jsp.
In C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT
directory there is a folder WEB-INF containing web.xml and another
folder LIB.
I have created a folder classes in WEB-INF and I put their the compiled
servlet class file HelloServlet.class.
Why I can't run this servllet using:
http://localhost:8080/servlet/HelloServlet
Is it compulsory to create a deployment descriptor or it is sufficient
to put it in the created classes directory?
What may be the problem in running servlet? How to run it?
How to get rid off from the port 8080? If I set the port to 80 then can
i run the jsp as:
http://localhost/Hello.jsp
Please help.
-Sameer
I have installed Tomcat 5.5 on Windows 2000.
It's default application is located at:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\ROOT\index.jsp
If I put any vaild jsp file like Hello.jsp then I can run it using:
http://localhost:8080/Hello.jsp.
In C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT
directory there is a folder WEB-INF containing web.xml and another
folder LIB.
I have created a folder classes in WEB-INF and I put their the compiled
servlet class file HelloServlet.class.
Why I can't run this servllet using:
http://localhost:8080/servlet/HelloServlet
Is it compulsory to create a deployment descriptor or it is sufficient
to put it in the created classes directory?
What may be the problem in running servlet? How to run it?
How to get rid off from the port 8080? If I set the port to 80 then can
i run the jsp as:
http://localhost/Hello.jsp
Please help.
-Sameer