RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from request scope

2001-08-07 Thread Mark Wilson

WAS 4.0 so far is no different, you will get the same error.

The problem was fixed, by changing the code in
org.apache.struts.taglib.html.FormTag per this solution posted a while ago:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html

There is another FormTag class, org.apache.struts.taglib.FormTag.  Make sure
you got the right one, and rebuilt correctly?  This solution has worked
successfully repeatedly.

The problem lies with the IBM implementation of the org.apache.jasper
package. It behaves differently than the tomcat reference implementation, in
that it will always throw an exception when specifically removing attributes
from request scope.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from
request scope


Hello,

I write an application using struts.
I have a first JSP page with a link to a second JSP page which contains a
form.
The link looks like:
html:link href=epologin.do?cmd=Createbean:message key
=index.login//html:link

I get the first page with the link. But, when I click on it, I get the
following message:

...cant remove Attributes from request scope...

I've seen a lot of mails in the struts-user list about the doEndTag
method; so I tried to change the code of the FormTag class (in
/taglib/html).
It changes nothing.

So, if anyone has a solution...

A few questions:
Where does the problem come from (Struts, Websphere)?
Is there any improvement with Websphere 4.0?

Thanks for your help.
 MIKAEL




RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from request scope

2001-08-07 Thread Craig R. McClanahan



On Tue, 7 Aug 2001, Mark Wilson wrote:

 WAS 4.0 so far is no different, you will get the same error.
 
 The problem was fixed, by changing the code in
 org.apache.struts.taglib.html.FormTag per this solution posted a while ago:
 http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html
 
 There is another FormTag class, org.apache.struts.taglib.FormTag.  Make sure
 you got the right one, and rebuilt correctly?  This solution has worked
 successfully repeatedly.
 
 The problem lies with the IBM implementation of the org.apache.jasper
 package. It behaves differently than the tomcat reference implementation, in
 that it will always throw an exception when specifically removing attributes
 from request scope.
 

More specifically, they used the Jasper that was in Tomcat 3.1 (which also
has this same problem).  For Tomcat, it was fixed in 3.2 and all later
versions.

 Mark
 

Craig