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,
---------------------------------------------------------
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com


On Fri, Mar 19, 2010 at 7:05 PM, Arpan <arpan.deb...@gmail.com> wrote:

> No it doesn't work
>
> On Fri, Mar 19, 2010 at 6:19 PM, Brian Thompson <elephant...@gmail.com
> >wrote:
>
> > I'm not 100% sure, but ${property-name} might work.
> >
> > -Brian
> >
> >
> > On Fri, Mar 19, 2010 at 3:43 AM, Arpan <arpan.deb...@gmail.com> 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 logout action class where i m invalidating and
> removing
> > the
> > > attribute from the session.
> > > Then after success in struts-config.xml file I am redirecting to the
> log
> > out
> > > url,which is hard coded.
> > >
> > > Does any one know how to access properties file constants into
> > > struts-config.xml.
> > > And should be the best way to do.
> > >
> > > Thanks
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>

Reply via email to