[
https://issues.apache.org/jira/browse/JSPWIKI-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031355#comment-13031355
]
Andrew Jaquith commented on JSPWIKI-691:
----------------------------------------
Using a ForwardResolution makes a lot more sense than RedirectResolution. In
terms of where the message is stashed, we could stick the message either into
the Messages list (via getMessage().add()...), or into the Errors list as a
global error.
I suspect the reason why the s:errors tag isn't working is because the the
error message is a "global" error not associated with a specific field. I'd
have to call that an oversight or bug. If that's trye, you'd want to use the
tag this way:
<s:errors globalErrorsOnly="true">
Make sense?
> Navigation to ./admin/Admin.jsp with a non-authorized user redirects to a
> blank ./Message.jsp
> ---------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-691
> URL: https://issues.apache.org/jira/browse/JSPWIKI-691
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Juan Pablo Santos RodrÃguez
> Priority: Minor
>
> Navigation to ./admin/Admin.jsp with a non-authorized user redirects to a
> blank ./Message.jsp, whereas in 2.8 you're redirected to error screen.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira