tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lambert, Stephen : CO IR" <SLamb...@LHS.ORG>
Subject RE: Testing a servlet
Date Tue, 26 Sep 2000 18:18:53 GMT
Thanks for responding. I tried your suggestion, but I'm still getting 404
errors despite whichever path I choose.
I have added the JDBC driver to /usr/local/jre1.2.2/lib and
/usr/local/jakarta-tomcat/lib. 
I have been searching the archives for some type of a hint. 
Would installing mod_jserv help clarify the path for apache or is this for
jserv only installs?
So many questions...well back to the archives! 
 

-----Original Message-----
From: Do Phil [mailto:Phil.Do@irs.gov]
Sent: Tuesday, September 26, 2000 7:42 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Testing a servlet




I think you can reference your servlet as follows: 

<form action=" http://www.myserver.com/examples/servlet/myclass
<http://www.myserver.com/examples/servlet/myclass> " method="POST" ...> 

Hope this helps. 

Phil 

-----Original Message----- 
From: Lambert, Stephen : CO IR [ mailto:SLambert@LHS.ORG
<mailto:SLambert@LHS.ORG> ] 
Sent: Monday, September 25, 2000 7:01 PM 
To: 'tomcat-user@jakarta.apache.org' 
Subject: Testing a servlet 



I have a servlet working fine on a Linux/Apache/JServ that I would like to 
test on my Linux/Apache/JRE/Tomcat box. 

If I place my TEST.HTML page in /home/httpd/html/test.html and 
place my class file into 
/usr/local/jakarta-tomcat/webapps/examples/WEB-INF/classes/myclass.class , 

then just exactly how do I reference this path inside the html page for the 
post method? 

<form action=" http://www.myserver.com/????/????/????/myclass
<http://www.myserver.com/????/????/????/myclass> " method="POST" 
name="test" onsubmit="return validateData()"> 

Can anybody help? 
Thanks. 



  


Mime
View raw message