You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/08 15:20:18 UTC
DO NOT REPLY [Bug 21408] New: -
html:errors in redirect mode
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21408>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21408
html:errors in redirect mode
Summary: html:errors in redirect mode
Product: Struts
Version: 1.0 Final
Platform: All
URL: http://jakarta.apache.org/struts/userGuide/struts-
html.html#errors
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Documentation
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: hauser@acm.org
CC: stefan.berger@softborg.com
in struts-config.xml, we are using <forward ... redirect="true" ...
in order to see the URLs of the pages that truly are displayed in the browser's
address bar.
However, it appears that html:errors no longer works with this approach?
Please enhance the documentation how one can get this working short of rewriting
control/taglib/ShowErrorsTag.java with
<<
...
public class ShowErrorsTag extends TagSupport {
...
public int doStartTag() throws JspException {
ActionErrors errors = new ActionErrors();
try {
Object value =
pageContext.getAttribute(name, PageContext.SESSION_SCOPE);
...
>> etc.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org