Ok, I've got it working much better. What I did was use JavaScript to redirect, setting window.location. I've read that logic:forward is a server-side redirect, and I did not try using sendRedirect yet.
thenameless20 wrote: > > What comes first....a documents <body onload="function(...)"> > > or > > <logic:forward name="login"> > > Is this browser dependent? > > For more backgound: > The login for my site uses a cookie value, this cookie was created on the > same domain but not in the java request, so if I'm correct javascript is > probably the only solution I have to reading in this client's cookie.... > > my javascript reads the client cookie sets a hidden form variable and > using`AJAX` like magic, it sends the forum to a method that stores that > cookie's value in the http servlet response, so it can use it later on, > after this my hopes are for the logic forward to trigger and continue the > login process. > > This method works from what I've tested, but seems finicky using different > browsers...is this method I described a solid way to approach this > problem? > > [if you have already seen this it's because I posted on struts-dev by > accident, thanks] > -- View this message in context: http://www.nabble.com/javascript-and-logic%3Aforward-tf3998107.html#a11402080 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

