Target, in your example, is a Parameter, not an Attribute. Try
request.getParameter("target") instead.
(*Chris*)
----- Original Message -----
From: "Nauman Rafique" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 11:16 PM
Subject: [JSP-INTEREST] request parameter
> Hi,
> I am using the following statement to redirect to a jsp.
>
response.sendRedirect("http://localhost/user/login.jsp?target=/sts/Controlle
> rServlet");
> Now in the jsp, I am doing
> <jsp:useBean id="target" class="java.lang.String" scope="request" />
> But I dont get the target value from the request.
> I cannot do a change in the second jsp (the one with the useBean)
> Can anybody suggest what might be the problem?
>
> thanks in advance
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com