Hi Alfred,

I had the same question and one of my friend suggested, have the java
programs anywhere you want, but copy the class file to WEB-INF directory
under (in your case) e:\jakarta-tomcat\webapps\examples\WEB-INF, then use
http:\\localhost:8080\servlet\Hello and it will work.

Later for your projects you have change context information etc., I am not
good at that area yet.
But keep in touch and can learn together.

Thanks.
-Unni

At 09:39 AM 11/3/00 +0200, Alfred Rakgole [ MTN - Alice Lane ] wrote:
>On which directory should the servlet class go.
>
>Here is my machine'c config
>Winnt 4.x
>
>  e:\Apache                   // web server
>  e:\jakarta-tomcat           // tomcat directory
>  E:\>java -version           // java runtime version
>  java version "1.2.2"
>  Classic VM (build JDK-1.2.2-W, native threads, symcjit)
>
>All my setting are defualt.
>
>
>Thanx...
>
>-----Original Message-----
>From: Arunkumar S [mailto:[EMAIL PROTECTED]]
>Sent: Friday, 03 November 2000 09:00
>To: [EMAIL PROTECTED]
>Subject: Re: Newbie : How to get my "hello world" working?
>
>
>Alfred ,
>You have to type  the url
>http://localhost:portnumer/servlet/Hello
>
>HTH
>Arun
>
>
>
>-----Original Message-----
>From: Alfred Rakgole [ MTN - Alice Lane ] [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 03, 2000 12:05 PM
>To: [EMAIL PROTECTED]
>Subject: Newbie : How to get my "hello world" working?
>
>
>I'm a newbie in web applications, Delphi veteran
>
>I managed to get Apache and Tomcat running.
>"Apache/1.3.12 (Win32) tomcat/1.0 running..."
>
>I'm running Apache and Tomcat 3.1.
>
>
>Where does one put a servlet class file so that it can load on URL request
>e.g. Hello.class?
>and what url to type to access it (e.g. something like
>htt://localhost/Hello).
>
>Thanks in advance...
>
>Alfred
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to