Sufi,
What is s assigned to in your code?  You should also encode the URL before
you use it as a parameter sendRedirect in case the variables have special
characters in them.  I don't think this is causing your problem though.

Have you done a System.out.println("s = " + s); before your sendRedirect
call yet?


-Richard


At 05:38 PM 10/31/01 +0000, you wrote:
>I have this line in a servlet :
>httpservletresponse.sendRedirect(s4 + "?name=" +s);
>
>But when I go to the jsp file s4, <%=request.getParameter("name")%> return
>always null
>
>Thanks
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>===========================================================================
>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

===========================================================================
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

Reply via email to