Vaijayanthi is right,
you should gain more info about working of the webserver
inspite of storing servlets in the 'servlets' path they are invoked by
calling servlet/x (without 's' ) because there is an alias
(servlet->invoker) that starts the invoker-servlet wich loads your
servlet x.
By default all directories under $server_root are forbidden for request
and you have to free them explizitly.
/*************************/
Thomas Schuchert
Cyberconsult
Beratungsgesellschaft f�r Neue Medien mbH
[EMAIL PROTECTED]
0049 30 - 39 99 05 46
/*************************/
> -----Urspr�ngliche Nachricht-----
> Von: Vaijayanthi Kolli [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 10. Mai 2000 01:11
> An: [EMAIL PROTECTED]
> Betreff: Re: freshers question
>
> Hi Deepak,
> I think when you try to invoke the servlet from the HTML form,your
> link
> should be
> http://localhost:8080/servlet/x.
> Hope it helps.
>
> Vaijayanthi.
>
>
>
> >From: Deepak Shrivastava <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology." <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: freshers question
> >Date: Tue, 9 May 2000 16:47:14 -0400
> >
> >hi guys ,
> >i have a very basic question, i have made a HTML form and saved it
> in
> >inetpub/wwwroot/ and then i made a servlet which i stored in
> >javawebserver2.0/servlets/x.class
> >
> >when i am calling this servlet from this page the browser says 404
> not
> >found
> >error, so where should i save this so that it finds this page
> >
> >i am using http://localhost/servlets/x in my link
> >
> >deepak
> >
> >_____________________________________________________________________
> ______
> >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
>
> ______________________________________________________________________
> __
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com
>
> ______________________________________________________________________
> _____
> 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