if you put your servlet classes in directory: webpages\web-inf\servlets\,
you just use http://localhost:8080/servlet/servletname to invoke it.
the html file is the interface which makes you easy to run the sample
servlets. you can create your own too. for running servlet, you only
need the class file in the correct directory.

regards
big mouse

----- Original Message -----
From: sarma <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 27, 1999 11:46 PM
Subject: Simple question


> I've downloaded JSDK2.1 software on my sun workstation yesterday night.
> I've read the README file and could able to start server and run all
> examples programs in my netscape browser.
>
> After a while, I wrote a sample servlet program,then compiled and end up
> with Sample.class. Then I was trying to run it in netscape by specifying
> like
>   http://localhost:8080/Sample   (I'm not sure, whether it's right or
> not).
>
> What wonders me is all the example executables are with extension
> "html". I don't know where they got it from. Is this gets generated on
> fly when you run class file in the browser.
>
> Can anyone please help in my servlet bootstrap process.
>
> -Sri Sarma
>
>
___________________________________________________________________________
> 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