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

Reply via email to