You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajat Pandit <ra...@centergroupinc.com> on 2003/11/06 18:19:53 UTC
redirecting issue
hello,
i would like to forward a user to the login screen incase he tries to
access the jsp directly. i want to ensure that the re-direction is
independent of the name of the jsp files. hence i would like to map it
to one of the global forwards.
<logic:notPresent name="ADMIN_USER">
<!--redirection tag goes here -->
</logic:notPresent>
is there something like <jsp:forward in the struts beans!. i tried
using <jsp:forward page="<bean:rewrite forward="/signin" />" /> but the
internal tag didnt evaluate.
i figured out use jscript as one way. but its UGH!! ugly. anybetter ideas?
thanks
--
Rajat Pandit | rajatp@centergroupinc.com
+91 612 3117606
[ Developer and Part Time Human Being]
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org