File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
sendRedirect and saving Session variables
Joined: Aug 26, 2005
Jun 06, 2006 06:51:00
(if that is the correct way to say that).
I am trying to use sendRedirect (with or without encodeUrl, tried both) to go from one web app, to another web app.
I'm hoping to have things saved on the Session saved (userId etc) so that 2nd web app has a clue WHO you are, without having to login again.
I've read about crossContext and such, but find it very hard to get documentation involving jboss w/ embedded tomcat.
Anyone have any ideas
Joined: Dec 11, 2004
Jun 06, 2006 06:57:00
Sessions stick to the context in which they were created.
Tomcat does have a single signon feature but your sessions do not get carried from context to context.
How to ask a question...
Simple Servlet Examples
Joined: Nov 24, 2005
Jun 06, 2006 07:16:00
Maybe this thread will help you:
All roads lead to JavaRanch
Joined: Jun 07, 2006
Jun 07, 2006 01:12:00
AS ben mention that session stick to context but u can try it
bcause tomcat5 give the facility for single sign on by which u can do.
r second option is clustering.
I agree. Here's the link:
subject: sendRedirect and saving Session variables
Tomcat 7 embedded and web app jar files
Running as one process
Problems trying to get struts-config.xml in JBoss 3.2.1
Deploying Web Applications in JBoss
When to not use EJB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014