struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terence Jacyno ...@galasoft.net>
Subject Re: Struts with WebSphere 4.0 on Win2000
Date Thu, 23 Aug 2001 14:06:32 GMT
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi.
<p>One thing you should watch out for.&nbsp; WAS contains a bug that causes
an error when using the Struts form tag.&nbsp; Comment out the 2 "pageContext.removeAttribute"
lines in the org.apache.struts.taglib.html.FormTag class (doEndTag() method,
starting at line 591), rebuild Struts, and all should be ok.&nbsp; Alternatively,
you could do this:
<br>&nbsp;&nbsp;&nbsp; try {
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pageContext.removeAttribute(Constants.BEAN_KEY,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PageContext.REQUEST_SCOPE);
<br>&nbsp;&nbsp;&nbsp; } catch (IllegalArgumentException iaex) {}
<br>&nbsp;&nbsp;&nbsp; try {
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pageContext.removeAttribute(Constants.FORM_KEY,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PageContext.REQUEST_SCOPE);
<br>&nbsp;&nbsp;&nbsp; } catch (IllegalArgumentException iaex) {}
<p>Terence
<p>SLBrand@aol.com wrote:
<blockquote TYPE=CITE><font face="arial,helvetica"><font size=-1>Any chance
anyone has done this for WAS 4.0 on 2000?</font></font></blockquote>
</html>


Mime
View raw message