I tried this but it says it cannot find the servlet pgm.
Where should I place the servlet pgm. I'm using JAVA WEBSERVER?

But I'm able to solve the problem .. call servlet with session alive
using   window.open("....");

Thanks,
Chary

----------
From:   Sam[SMTP:[EMAIL PROTECTED]]
Reply To:       [EMAIL PROTECTED]
Sent:   Tuesday, January 25, 2000 12:49 AM
To:     [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: urgent: JSP's calling Servlets

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

Reply via email to