the forward tag uses a request dispatcher works locally only
Use a relative url like "/servlet/MyServlet" for this and it will work
-Sameer
"[EMAIL PROTECTED]" wrote:
>
> I want to call a Servlet from my JSP page.when I was trying to use
> href,my servlet is invoked but the session which was created earlier is
> found to be null(may be because of the request parameter not passed from
> JSP)
> When I was using
> <jsp:forward page="http://localhost:8080/../..Servlet" />
> It's gving
> "Your request is understood but cannot provide service to your request"
>
> How can I call a servlet from a JSP and pass on the request paramter
> from a JSP;
>
> Any suggestion or help would be helpful for my project.
>
> Thanks in advance,
> Chary
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html