RE: [Core] Setup globals per new session

2002-08-30 Thread Jason Rosen
newer Servlet spec for your app container. I hope this can at least get you started. Jason -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:45 AM To: Struts Users Mailing List Subject: RE: [Core] Setup globals per new session > -Original

RE: [Core] Setup globals per new session

2002-08-30 Thread Miguel Angel Mulero Martinez
up globals per new session OK, I've decided to create an IndexAction and bind it to /index, then add index.do to my web.xml. This appears to work and will allow me to set up all the session state I need dependant upon the hostname. I now have to figure out a clean mechanism to ensure that the c

RE: [Core] Setup globals per new session

2002-08-30 Thread Mark Kaye
OK, I've decided to create an IndexAction and bind it to /index, then add index.do to my web.xml. This appears to work and will allow me to set up all the session state I need dependant upon the hostname. I now have to figure out a clean mechanism to ensure that the client redirects to the index

RE: [Core] Setup globals per new session

2002-08-30 Thread Mark Kaye
> -Original Message- > From: Mark Kaye > > Thanks Danny. I've looked into this and it seems to be > exactly what I'm looking for. You're a star. Hmm, it seems I can't use HttpSessionListener after all :(. After looking into it in more depth, it looks like I won't be able to get a han

RE:[Core] Setup globals per new session

2002-08-29 Thread Mark Kaye
> -Original Message- > From: Trieu, Danny [mailto:[EMAIL PROTECTED]] > > Implement the HttpSessionListener Thanks Danny. I've looked into this and it seems to be exactly what I'm looking for. You're a star. -- To unsubscribe, e-mail: For additional co

RE: Setup globals per new session

2002-08-29 Thread Galbreath, Mark
That's one of the uses for Struts tokens. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: RE: Setup globals per new session I would possible embed a flag in the session and have

RE: Setup globals per new session

2002-08-29 Thread Trieu, Danny
Implement the HttpSessionListener -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 7:56 AM To: [EMAIL PROTECTED] Subject: RE: Setup globals per new session Hello, You could have an index page that automatically redirects to a

RE: Setup globals per new session

2002-08-29 Thread Stephen . Thompson
ye [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 16:01 To: Struts Users Mailing List Subject: RE: Setup globals per new session > -Original Message- > From: [EMAIL PROTECTED] > > You could have an index page that automatically redirects to > a struts action. This action could

RE: Setup globals per new session

2002-08-29 Thread Mark Kaye
> -Original Message- > From: [EMAIL PROTECTED] > > You could have an index page that automatically redirects to > a struts action. This action could retrieve the information > you require and then decide which way to direct the user. I had thought of this option. But that wouldn't wor

RE: Setup globals per new session

2002-08-29 Thread Stephen . Thompson
2002 15:51 To: Struts Users Mailing List Subject: Setup globals per new session Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which wi

Setup globals per new session

2002-08-29 Thread Mark Kaye
Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which will be listening on several different hostnames) I need to detect which host they are connect