Wrox Home  
Search P2P Archive for: Go

  Return to Index  

apache_tomcat thread: How to run the servlet under Tomcat 4.1.12-Urgent


Message #1 by "Archana Annamaneni" <akpally@y...> on Mon, 24 Feb 2003 14:47:04
Hi all,
I am following the Professional JSP 2nd edition.
My Tomcat version is 4.1.12.
In 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
through the browser 
http://localhost:8080/IS_Project/Servlet/com.archana.is_project.bookstore.welcome

I am getting the source /IS_project/servlet/com.archana......
not found.
I stoped and started the Tomcat.IS there anywhere I have to map,please help
me.As I have to submit my school project I really appreciate any kind of help.

-Archana 


Message #2 by praveen_s78@r... on Wed, 26 Feb 2003 11:46:40
 hi,
  first u must set up all the classpaths, and edit 
 the server.xml file which is necessary for Tomcat 4.0.3
 versions & above. Just remove comment lines for context
 path & then edit web.xml for mapping.

 Praveen
 3GNS
> 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.w
elcome

> 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 

> 

  Return to Index