Also, you have to Encode the redirect before send:
response.sendRedirect (response.encodeRedirectUrl
("update_error.jsp?msg=errormsg"));
Sandy Tiu wrote:
> I did this inside my JSP :
>
> <%
> response.sendRedirect(update_error.jsp?msg=errormsg);
> %>
>
> and I'm getting this error:
>
> HTTP Error 400
> 400 Bad Request
>
> Due to malformed syntax, the request could not be understood by the server.
> The client should not repeat the request without modifications.
>
> is there a way to redirect and pass parameters at the same time ?
>
> Sandy
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ===========================================================================
> 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
begin:vcard
n:Sosa Iglesias;Jes�s
tel;work:(525) 333600 x 21258
x-mozilla-html:TRUE
url:http://www.proy.imp.mx/sippi
org:Instituto Mexicano del Petr�leo;Normalizacion
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chem. Eng.
adr;quoted-printable:;;Eje Central Lazaro Cardenas 152=0D=0ASan Bartolo Atepehuacan;Mexico ;DF;07730;Mexico
fn:Jes�s Sosa Iglesias
end:vcard