Remove the .class extension from the url.
<a href="http://127.0.0.1:7001/servletclasses/myServlet
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: Pamela Cotture <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 5:39 PM
Subject: How to call a servlet from a JSP page ?


> I'd like to call a servlet from a JSP page when I click on an image that
> represents my submit button.
>
> I've tested the following code in my jsp page but I got an 404-Error :
>
> <a href="http://127.0.0.1:7001/servletclasses/myServlet.class"<img
border=0
> height=14 hspace=8 src="/pics/buttons/submit.gif"></a>
>
> Anyone can help me ?
>
> Thanks
>
> Pamela
>
> mailto:[EMAIL PROTECTED]
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to