You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Kok, Arjan" <Ar...@nl.compuware.com> on 2000/11/24 17:32:17 UTC
Some Bugs
Hello,
I've found some bugs in the recent Struts distributions, I hope they can be
fixed before the beta goes out.
1. The iterate tag in the struts-logic.tld is missing the tei-class
definition. It means that the bean exposed by the "id" attribute of the
iterate tag will not be declared as a scripting variable. The following line
should be added to the struts-logic.tld:
<teiclass>org.apache.struts.taglib.logic.IterateTei</teiclass>
2. Setting the redirect property of an ActionForward class to true, will
loose the current session if URL rewriting is applied to maintain the
session between requests. I think the solution is to change in the
processActionPerform() method of the ActionServlet the line:
'response.sendRedirect(path);' into
'response.sendRedirect(response.encodeRedirectURL(path));'
3. The Link Tag only encodes URLs (using URLEncoder.encode()) if the map
property is used. I would like the link tag to encode URLs also when the map
property is not used. Or is there something I have overlooked?
Arjan Kok.