You either need to send them to a full URL with the host name (which
you're missing) or to a relative URL. Basically, the redirect URL has to
be something that you could put in a web page as a hyperlink.

Matt 

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Dave Reiher/prairiefarms
Sent: Wednesday, September 07, 2005 9:21 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Redirect JSP

I want to have a jsp page that I can use just for authenticating users
and 
then if valid redirect them to a URL built using the username they 
entered. Something like this
String redirectURL = "http://WEB/TEST/WFInvocation.do?inv=INV1&&USR="; + 
request.getRemoteUser;
response.sendRedirect(redirectURL);
Only thing I run into right now is that in WebSphere "request" is not 
known or valid. Or I am not doing it correctly. Any suggestions???
 
Thanks!
Dave Reiher
System Analyst
Prairie Farms Dairy - Corporate
Ph: 217.854.2547 ext. 254
dreiher@xxxxxxxxxxxxxxxx

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.