Hi there,
You have to refer Servlets using the servlet directory and not the
servlets directory.
In your form change the action to "/servlet/myservlet"
Notice that it is not "servlets/myservlet"
hope this helps
Pavan
-------------------------------------------------------------------------------
" Unix is Simple.It takes a Genius to understand its Simplicity".
Pavan Sulibhavi 100,Memorial Pkwy Phone: (732)-729-1086 (R)
Graduate Student Apt # 2L : (732)-445-0660 (O)
Rutgers University New Brunswick-NJ 08901
On Thu, 23 Mar 2000, Pathuri wrote:
> I am using Apache/Jserv on Unix.In the jserv.conf file
> my ApJservMount refers to
> /servlets/myzone /myzone.My servlet resides in
> "myzone" directory under
> "servlets" directory
> ie/servlets/myzone/myservlet.class.
> In jserv.properties file : zone=myzone and
> myzone.properties path is set correctly.
> Now when I have to refer to myservlet.class from a
> html file, I use action="/servlets/myservlet".
> The server is looking for "/servlets/myservlet"
> underthe "htdocs" directory.
> Why is the above happening inspite of configuring
> theApJServMount correctly.
> How should we refer to the servlet in HTML file
> whilesubmitting the form.
> Could anyone suggest the correct way of referring
> tothe servlet from html page ?
> cheers,subbarao
>
> =====
> Pathuri
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.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