Redirection of url

Hi,

I have JSP 1 being hosted in one application server 1, i.e. thats the login page, on succesfull login i need to redirect the control to another JSP 2 hosted in another appilcation server 2.

But if any user tries to access the JSP2 directly i need to throw up a message saying he is currently not logged in.

So while redirecitng from JSP1 i need to pass some paramter or data which can be retrieved in JSP2 and decide on whether the user has come after successful logging in or direclty accessed the JSP2.

If i save something in session,will that be accessible accross two differnet application servers

Please let me know what approach to be used for this or some references.

[716 byte] By [PPBhata] at [2007-11-26 18:53:16]
# 1
jsp forum...
suparenoa at 2007-7-9 6:27:16 > top of Java-index,Java Essentials,Java Programming...
# 2
Are these application servers connected in any way (apart from both receiving connections from the same client)?In particular, do they have any mechanism for sharing sessions?
paulcwa at 2007-7-9 6:27:16 > top of Java-index,Java Essentials,Java Programming...