tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raible, Matt" <Matt_Rai...@cable.comcast.com>
Subject RE: forwarding to j_security_check?
Date Tue, 15 Apr 2003 20:57:06 GMT
This works in Tomcat 4.1.x

String route = "j_security_check?j_username=" + username
                        + "&j_password=" + password;

response.sendRedirect(response.encodeRedirectURL(route));

> -----Original Message-----
> From: Mark R. Diggory [mailto:mdiggory@latte.harvard.edu]
> Sent: Tuesday, April 15, 2003 2:49 PM
> To: Tomcat Users List
> Subject: forwarding to j_security_check?
> 
> 
> Question:
> 
> I'd like to be able to forward a request to "j_security_check" from a
> Servlet. Is this possible? I know its a Valve, I'm struggling 
> with a way 
> to make a forward request to a resource that will activate the valve.
> 
> -Mark
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message