Re: Struts 1 log out issue

2010-03-21 Thread Arpan
Anyone can tell me..how to get property files attributes in struts-config.xml file. I want to use dynamic "path",which I will get from properties file for logging out. Thanks On Fri, Mar 19, 2010 at 8:45 PM, Arpan wrote: > Thanks for the response. > > Is there any way struts-cofig.xml read any

Re: Struts 1 log out issue

2010-03-19 Thread Arpan
Thanks for the response. Is there any way struts-cofig.xml read any properties file? On Fri, Mar 19, 2010 at 8:06 PM, Girish Naik wrote: > There are multiple ways to do it. > > one is to write a piece of code where we can use redirect dispatcher for > redirecting to the required url. > second o

Re: Struts 1 log out issue

2010-03-19 Thread Girish Naik
There are multiple ways to do it. one is to write a piece of code where we can use redirect dispatcher for redirecting to the required url. second on click of logout link take the user to a jsp where session is invalidated , after this forward the user to the desired location. Regards, -

Re: Struts 1 log out issue

2010-03-19 Thread Arpan
No it doesn't work On Fri, Mar 19, 2010 at 6:19 PM, Brian Thompson wrote: > I'm not 100% sure, but ${property-name} might work. > > -Brian > > > On Fri, Mar 19, 2010 at 3:43 AM, Arpan wrote: > > Hi, > > > > I our project we need to put a dynamic log out link,which will come from > a > > properti

Re: Struts 1 log out issue

2010-03-19 Thread Brian Thompson
I'm not 100% sure, but ${property-name} might work. -Brian On Fri, Mar 19, 2010 at 3:43 AM, Arpan wrote: > Hi, > > I our project we need to put a dynamic log out link,which will come from a > properties file. > While logging out we want to invalidate the session also. > > I have written a logou

Struts 1 log out issue

2010-03-19 Thread Arpan
Hi, I our project we need to put a dynamic log out link,which will come from a properties file. While logging out we want to invalidate the session also. I have written a logout action class where i m invalidating and removing the attribute from the session. Then after success in struts-config.xm