× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sorry about that, it does look confusing now that you say that. However, 
WEB is the host name, some genious decided to call it that. Basically I 
could take that URL and the value of request.getRemoteUser and go right to 
the URL. I am doing something wrong though, because WS doesn't like the 
way I am doing it......

    Dave Reiher
    System Analyst
    Prairie Farms Dairy - Corporate
    Ph: 217.854.2547 ext. 254
    dreiher@xxxxxxxxxxxxxxxx



"Haas, Matt" <Matt.Haas@xxxxxxxxxxx> 
Sent by: web400-bounces@xxxxxxxxxxxx
09/07/2005 09:03 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
"Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
cc

Subject
RE: [WEB400] Redirect JSP






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

Replies:

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.