Try http://localhost:8000/servlet/hello
That is how it work for jsdk and tomcat. Are you sure of your port number
(8000)?
Regards,
Bertus Viljoen
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Rajat
Jain
Sent: Wednesday, January 31, 2001 1:29 PM
To: [EMAIL PROTECTED]
Subject: how to run a simple servlet..?
hi
i have downloaded (j2ee and jdk1.3) from net. i alos set following
environment variable as follows:
JAVA_HOME= C:\jdk1.3
J2EE_HOME= C:\j2sdkee1.2.1
now my problem is that i am not able to run even the simplest servlet
program
"hello world" using j2ee server.
i gave following URL after starting j2ee server:
http://localhost:8000/hello
In above URL 'hello' is class name for 'hello world' program and this
class resides in public_html directory of j2sdkee1.2.1 folder.
PS : The intresting part is that i have successfully run JSP program.
pleas help me out..is my URL wrong ?or any configuration setting is
required ?.
thanks in advance
rajat
___________________________________________________________________________
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