You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peri Srinivas <ps...@arzoo.com> on 2001/02/22 20:50:11 UTC
CheckLogOn Tag.
Hi All,
Generic requirement for this tag would be
name - Name of the session-scope bean to check for [user]
page - Context-relative path to the logon page [/logon.jsp] and also..
next page -- page to show after suceessful page.
Eg:
a.jsp,b.jsp ,which should be displayed only after successful login.
login.jsp is the login page.
when i click on a.jsp, i should get login.jsp and after succesful login should go back to a.jsp.
when i click on b.jsp, i should get login.jsp and after succesful login should go back to b.jsp.
Does Struts provide this with 1.0.
Thanks,
Peri
Re: CheckLogOn Tag.
Posted by Maya Muchnik <mm...@pumatech.com>.
Peri,
Check with struts-example. You can find CheckLogonTag.java (and class).
If you "play" with this example, then you can see that a menu is
changing depending on you are logon or not.
Maya
Peri Srinivas wrote:
> Hi All, Generic requirement for this tag would
> be name - Name of the session-scope bean to check for
> [user] page - Context-relative path to the logon page
> [/logon.jsp] and also.. next page -- page to show
> after suceessful page. Eg: a.jsp,b.jsp ,which should be
> displayed only after successful login. login.jsp is the login
> page. when i click on a.jsp, i should get login.jsp and after
> succesful login should go back to a.jsp. when i click on b.jsp,
> i should get login.jsp and after succesful login should go back
> to b.jsp. Does Struts provide this with 1.0. Thanks,Peri