Hello all,
First off, I'd like to say that I did search these forums for a solution to my problem, but none seemed similar to mine. Also, I'm using Oracle Application Server 10.1.3 (which uses a modified Apache HTTP server), and the problem might just as well lie there. Anyway, I though I'd ask here to see if anyone has a clue as to what might be the problem.
When users arrive at the web app, index.jsp is loaded, which is a page containing several frames. They enter their user name and password here, and press the "login" button. The data is posted to a page called LoginAction.jsp. This checks the request data, and then performs a sendRedirect. However, the page doesn't seem to be redirected (or cannot be found).
This is the redirect code in LoginAction.jsp:
As you can see, I do have a "return;" behind the sendRedirect(). Now, when I login with IE, I get an "Action canceled" page, stating IE was "unable to link the web page you requested". When I use Mozilla, nothing happens after pressing the button.
Now, when using a <
jsp:forward>, it does work. You may call me lazy, but I used the sendRedirect throughout several web apps, and I would like to get this working.
Something else I should mention... We're behind a firewall here. The server is inside the LAN (obviously), and when I browse to it from within the LAN, it works just fine. When I use an outside line, and enter through the firewall to access the web app, the sendRedirect fails.
Reading over this post, it's probably not the code that's at fault, but some setting somewhere... On the http server or on the firewall...
Anyone have a clue?
Also, would you advise me to use <jsp:forward> instead of sendRedirect?
Thanks,
sca
[ July 13, 2006: Message edited by: ]
[ July 13, 2006: Message edited by: ]
[ July 13, 2006: Message edited by: ]