Thanks Mark.

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

  MIKAEL





Mark Wilson <[EMAIL PROTECTED]> le 07/08/2001 17:48:13

Veuillez répondre à [EMAIL PROTECTED]

Pour :    "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
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: [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="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.



Reply via email to