with jsdk2.1 your servlets should reside in a "web application"
WEB-INF/servlets directory
(eg: examples/WEB-INF/servlets/Samples.class) and are invokable
via a uri (eg: http://localhost:8080/examples/servlet/Sample).

hope this helps,

- james

sarma wrote:
>
> 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