Dear Jain

Thanks 4 ur message. But I am sorry to say I am not succeeded yet  :(

Of course, I have copied the Servlets Class files in below mentioned
directory

        "c:\jswdk2.1\examples\WEB-INF\Servlets"

I have employed all method which you advised me but nothing. That's why I am
reverting back to you again...

Will you please help me?????

I have write the below mentioned "Classpath" in Startserver.bat file as per
your suggestion...

set _CLASSPATH=
set
CLASSPATH=c:\jswdk2.1\examples\WEB-INF\Servlets;c:\jdk1.3\jre\lib\ext\server
.jar;c:\jdk1.3\jre\lib\ext\servlet.jar;classes

I have tried below mentioned addresses in the Address window of
browser...but got nothing...

http://localhost:8080/
http://localhost:8080/examples/servlet/servletname
http://localhost:8080/examples/WEB-INF/Servlets/servletname

Will you please guide me step by step....

Thanking you

Just a learner
Gill


-----Original Message-----
From: Anubhav Jain [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 6:34 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help: Servlet not running
Sensitivity: Confidential


Hi Gill
Well nothing ot worry abt.
Once you have downloaded and unzip the Jswdk2.1 then the next thing is to
add the CLASSPATH settings as probably you have
..\jswdk2.1;..\jswdk2.1\examples\web-inf\servlets;

The other things is that u have to copy all the class file of servlets you
made  in
..\jswdk2.1\examples\web-inf\servlets directory as it is root to invoke
server

before starting using the server first go on ms dos seession and go in
..\jswdk2.1\directory
and then you will find startserver.exe and stopserver.exe so run
startserver.exe

After doing this you can see your servlets in browser
as http://localhost:8080/examples/servlet/Servletname..

I hope this is sufficent for u.Even if any probs just revert back to me back
as sunject Mess for Anu_uk.

Bye
Cheers
-----Original Message-----
From: Gill [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 12:19 PM
To: [EMAIL PROTECTED]
Subject: Help: Servlet not running
Sensitivity: Confidential

Hi Fellows,

Will you please help me. Once I have made a servlet (.class) file. Now how
could I check the output of my servlet?

Although, I have downloaded and Unzipped the "Zip" File for running the
JSDK2.1. But when I type

C:\JSDK> startserver

A Window Blink and I got the same prompt i.e. "C:\JSDK>".

Then I start the Internet Explorer. AND I type
http://localhost:8080/servlet/HTTPGetServlet in the Browser Address Window.

I get message "Connecting to site 127.0.0.1"  at the base line of Browser
AND    Then

I get message in Browser output Window "The Page Cannot Be Displayed"

Will you please advise me that where the Browser looks for the Servlet File?
Is it a path error?

What is the function of this directory structure
"C:\jsdk\webpages\WEB-INF\Servlets" ?

The properties of my "Default.cfg" file are as follow;

server.port=8080
server.hostname=localhost
server.inet=                    (What is this used for?)
server.docbase=webpages\WEB-INF\Servlets
server.tempdir=tmp

server.webpages.WEB-INF.Servlets=examples (What is the function of it)
server.webpages.WEB-INF.Servlets=examples (What is the function of it)

Thanking you good guys in advance.

Just a Novice
Gill

___________________________________________________________________________
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