You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ciaran Hanley <ci...@sentenial.ie> on 2004/09/03 17:13:25 UTC

Redirect to action

The struts logic user documentation shows the use of a redirect to an action
is permitted

 

http://struts.apache.org/userGuide/struts-logic.html#redirect

 

But when I use it I get the following error:

 

"Attribute action invalid for tag redirect according to TLD"

 

This is where I call the tag:

 

<logic:present name="someUser">

  <logic:redirect action="/logout" />

</logic:present>

 

Is this a mistake in the documentation? Or is there another way to redirect
from within a JSP?

I am using struts 1.1 if that makes any difference.

 

Thanks