You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Assenza, Chris" <ca...@Accessdc.com> on 2001/08/08 15:03:37 UTC

RE: Re. : RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attribu tes from r equest scope

http://www.enfused.com/struts.jar  :)

Chris


-----Original Message-----
From: mikael.lharant-unilog@marine.alstom.com
[mailto:mikael.lharant-unilog@marine.alstom.com]
Sent: Wednesday, August 08, 2001 3:03 AM
To: struts-user@jakarta.apache.org
Subject: Re. : RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove
attributes from r equest scope




Thanks Mark.

  Where can I find the struts.jar file with the modification "special WAS"?

  MIKAEL





Mark Wilson <Ma...@valtech.com> le 07/08/2001 17:48:13

Veuillez répondre à struts-user@jakarta.apache.org

Pour :    "'struts-user@jakarta.apache.org'"
<st...@jakarta.apache.org>
cc :

Objet :   RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from r
      equest scope


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: mikael.lharant-unilog@marine.alstom.com
[mailto:mikael.lharant-unilog@marine.alstom.com]
Sent: Tuesday, August 07, 2001 10:18 AM
To: struts-user@jakarta.apache.org
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="Create"><bean: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




    CONFIDENTIALITE : Ce message et les éventuelles pièces attachées sont
    confidentiels. Si vous n'êtes pas dans la liste des destinataires,
veuillez
    informer l'expéditeur immédiatement et ne pas divulguer le contenu à une
    tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne
pas
    stocker ou copier l'information qu'il contient sur un quelconque
support.

    CONFIDENTIALITY : This  e-mail  and  any attachments are confidential
and
    may be privileged. If  you are not a named recipient, please notify the
    sender immediately and do not disclose the contents to another person,
use
    it for any purpose or store or copy the information in any medium.