Hi

I'm trying to do a redirect in a jsp page, but I can't get it to work. Can
somebody help me out? I've tried  response.sendRedirect(url) with no luck,
then I tried

<%@ page import = "org.apache.turbine.util.RunData" %>

<%
String maskine=request.getParameter("mask");
String soeg = request.getParameter("soeg");

RunData data = (RunData)request.getAttribute("rundata");

if ("google".equals(maskine)) {
                data.setRedirectURI("http://www.google.com/search?q="; +
                        soeg + "&amp;hl=da&amp;lr=");

        }
%>
<html> .....




I can get the values in the hidden fields in my form, but the redirect will
not work.


Regards

-Steen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to