doing same kind of stuff, but it's not working.

-----Original Message-----
From: Osama Mohsin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Request Fwding problem


Hello,

        To forword a request from the servlet to a jsp file, you can
write the following line in your servlet:

getServletContext().getRequestDispatcher("jspfilename.jsp").forward(requ
est,response);

        and in your jsp file you can access get the parameter by the
following statements:
                request.getParameter("parametername")

        I hope it work.

Regards,
Osama Mohsin

-----Original Message-----
From: Sudarson Roy Pratihar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 6:29 AM
To: [EMAIL PROTECTED]
Subject: Request Fwding problem


Hi All,

I'm facing a problem while trying to fwd request to another jsp. In
present scenario, request comes to a servlet and after doing some
action, servlet fwd request to a jsp. So in jsp we should be able to get
the parameters and attributes in the request. But when trying to get
parameter or request scope attribute, I'm not able to retrieve.

Can anybody pls help me in this regard ?
Thanks and Regards,
Sudarson

________________________________________________________________________
___
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

___________________________________________________________________________
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

Reply via email to