Hi -

Your question about location was answered the first time you posted.  Please
consult the documentation...such as the ClassLoader HOWTO and the
Application Developer's Guide, both available here:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html

The address for viewing the output of your servlets is whatever you have
setup...in a default install, it would be localhost, assuming you are
accessing your servlets from the same machine where Tomcat is running.  If
Tomcat is on a separate machine, you would need to use a domain name or an
IP address.

John


> -----Original Message-----
> From: Fredro Harjanto [mailto:fredro_h@;yahoo.com]
> Sent: Thursday, November 07, 2002 6:37 PM
> To: [EMAIL PROTECTED]
> Subject: Where to put my servlet classes
> 
> 
> 
> Hi:
> 
> I've successfully compiled my servlets using javac 
> <servlet-name>.java (by identifying the CLASSPATH in Tomcat 5.0)
> 
> 1a. Now I want to put my <servlet-name>.class in Tomcat. 
> Where is the location to put my servlet classes?
> 
> I have tried many locations and still failed. I used Tomcat 
> 5.0 (http://jakarta.apache.org/builds/jakarta-tomcat/nightly-5/)
> 
> 1b. What is the address to view my servlet generating 
> html/java after putting the class in the above location, such 
> as http://localhost/ ?
> 
> 2. If I use a different compiler for my servlets, say from 
> indentifying the CLASSPATH in JSWDK to the Java Compiler, can 
> I use the classes created to be put in Tomcat server's location?
> 
> Thank you!.
> 
> - Fred
> 
> welcome.to/fredro
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to