I will expose you a problem I found with Tomcat 4.1.18 but first is
better if I describe to you what's happened. System administrators of my
department installed J2SDK 1.4.1 and Tomcat 4.1.18 in a local machine.
After that I have setted the enviroment variables CATALINA_HOME to the
install_dir of Tomcat and JAVA_HOME to the install_dir of J2SDK1.4.1
classes. Then I can start Tomcat using the script
$CATALINA_HOME/bin/startup.sh (it is a Linux machine) and I can see the
local home page
$CATALINA_HOME/webapp/ROOT/index.html
browsing http://localhost:8080/ .
I can see aslo the example servlets situated at
$CATALINA_HOME/webapp/examples/WEB-INF/classes/ browsing
http://localhost:8080/examples/servlet/ServletName
but I cannot see servlets situated in the usual work directory
$CATALINA_HOME/webapp/ROOT/WEB-INF/classes
browsing http://localhost:8080/servlet/ServletName
(I'm just a beginner of JSP technology and this is what I found in a JSP
manual that I should do). I mean that if I create any my servlet file
called MyServlet.class and I put it in the directory
$CATALINA_HOME/webapp/examples/WEB-INF/classes/
I can see it, but I canno see it If I put it in the directory
$CATALINA_HOME/webapp/ROOT/WEB-INF/classes.
I can also tell you that I can see any html page situated at
$CATALINA_HOME/webapp/ROOT/MyPage.html
browsing http://localhost:8080/MyPage.html
Do you think this is a problem of configuration of Tomcat? How can I
have a dedicated directory for my servlet classes?
I send to you this mail because I'm just a beginner of servlets and
Tomcat, and system administrators of my department told me that they
never used Tonmcat before now, so they cannot (or they don't want to)
help me.
I would be very please to you if someone of you could help me.
Thanks
Nicola
--
-------------------------------------------
Nicola Galante
Universita' degli studi di Siena -- ITALY
Tel. (PD) (+39) 049 827 7214
e-mail: [EMAIL PROTECTED]
-------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: servlet with Tomcat Nicola Galante
- Re: servlet with Tomcat Steve R Burrus
- RE: servlet with Tomcat Nicole Hibbard
- RE: servlet with Tomcat Steve R Burrus
- RE: servlet with Tomcat mech
- RE: servlet with Tomcat Steve R Burrus
- Re: servlet with Tomcat Will Hartung
- RE: servlet with Tomcat Noel J. Bergman
- Re: servlet with Tomcat Peter Harrison
- RE: servlet with Tomcat Noel J. Bergman
- RE: servlet with Tomcat Geoff Peters
