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#a11354784
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to