RE: Help Error run Struts in VAJ 4 "cant remove Attributes from requestscope" remain

2001-09-10 Thread Mark DiNic

I can not get this to work in WAS 4.0 with these
changes. Does anyone know if there is more to be done
in the server to eliminate this error.

Thank You,

Dave

--- Julia Yang <[EMAIL PROTECTED]> wrote:
> Thank you Eric. It is working now 
> 
> Julia
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, September 07, 2001 11:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Help Error run Struts in VAJ 4 "cant
> remove Attributes from
> requestscope" remain
> 
> 
> Julia,
> 
> I had the same problem with VAJ 3.5.3, but I presume
> this will work with
> 4.0.  You need to make sure you are changing the
> code in the correct
> place.   There are two FormTag classes - one in the
> base taglib package
> and one in the taglib.html package.  In
> order to get the application to work with VAJ, you
> need to change it in
> the html package.
> 
> Eric Stievater
> Distributed Application Development
> 201.418.5663
> 
> 
> 
>  
> 
> "Julia Yang"
> 
>  <[EMAIL PROTECTED]>
> 
> n.com>   cc:
> 
>  Subject:   
>  Help  Error run
> Struts in VAJ 4 "cant remove Attributes from request
> scope"  
> 09/07/01 02:36remain
> 
> PM
> 
> Please respond
> 
> to struts-user
> 
>  
> 
>  
> 
> 
> 
> 
> 
> Hi, Geoff and Mark and all
> 
> Thank you for answer my question on how to use
> struts in VAJ
> I got it run but with a error
> Server caught unhandled exception from servlet
> [jsp]: cant remove
> Attributes from request scope
> I followed the e-mail Geoff sent out on 8/21/2001
> with
> 
> Replace the following lines in the doEndTag() method
> in the FormTag
> class:
> 
>  pageContext.removeAttribute(Constants.BEAN_KEY,
> PageContext.REQUEST_SCOPE);
>  pageContext.removeAttribute(Constants.FORM_KEY,
> PageContext.REQUEST_SCOPE);
> 
> with the following:
> 
> 
>
pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
> 
>
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
> 
> The problem remains, is there anything else I need
> do ?
> 
> Julia
> 
> 
> 
> 
> 
> 
> 
> *** IMPORTANT NOTE
> *
> The opinions expressed in this message and/or any
> attachments are
> those of the author and not necessarily those of
> Brown Brothers
> Harriman & Co., its subsidiaries and affiliates
> ("BBH").  There is no
> guarantee that this message is either private or
> confidential, and it
> may have been altered by unauthorized sources
> without your or our
> knowledge.  Nothing in the message is capable or
> intended to create
> any legally binding obligations on either party and
> it is not intended
> to provide legal advice.  BBH accepts no
> responsibility for loss or
> damage from its use, including damage from virus.
>

> 


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



RE: Help Error run Struts in VAJ 4 "cant remove Attributes from requestscope" remain

2001-09-07 Thread Julia Yang

Thank you Eric. It is working now 

Julia

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Help Error run Struts in VAJ 4 "cant remove Attributes from
requestscope" remain


Julia,

I had the same problem with VAJ 3.5.3, but I presume this will work with
4.0.  You need to make sure you are changing the code in the correct
place.   There are two FormTag classes - one in the base taglib package
and one in the taglib.html package.  In
order to get the application to work with VAJ, you need to change it in
the html package.

Eric Stievater
Distributed Application Development
201.418.5663



 

"Julia Yang"



n.com>   cc:

 Subject: Help  Error run
Struts in VAJ 4 "cant remove Attributes from request scope"  
09/07/01 02:36remain

PM

Please respond

to struts-user

 

 





Hi, Geoff and Mark and all

Thank you for answer my question on how to use struts in VAJ
I got it run but with a error
Server caught unhandled exception from servlet [jsp]: cant remove
Attributes from request scope
I followed the e-mail Geoff sent out on 8/21/2001 with

Replace the following lines in the doEndTag() method in the FormTag
class:

 pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
 pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);

with the following:

 pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
 pageContext.getRequest().removeAttribute(Constants.FORM_KEY);

The problem remains, is there anything else I need do ?

Julia







*** IMPORTANT NOTE *
The opinions expressed in this message and/or any attachments are
those of the author and not necessarily those of Brown Brothers
Harriman & Co., its subsidiaries and affiliates ("BBH").  There is no
guarantee that this message is either private or confidential, and it
may have been altered by unauthorized sources without your or our
knowledge.  Nothing in the message is capable or intended to create
any legally binding obligations on either party and it is not intended
to provide legal advice.  BBH accepts no responsibility for loss or
damage from its use, including damage from virus.





Re: Help Error run Struts in VAJ 4 "cant remove Attributes from requestscope" remain

2001-09-07 Thread Eric . Stievater


Julia,

I had the same problem with VAJ 3.5.3, but I presume this will work with 4.0.  You 
need to make sure you are changing the code in the correct place.   There are two 
FormTag classes - one in the base taglib package and one in the taglib.html package.  
In
order to get the application to work with VAJ, you need to change it in the html 
package.

Eric Stievater
Distributed Application Development
201.418.5663



   

"Julia Yang"   

  

n.com>   cc:   

 Subject: Help  Error run Struts in VAJ 4 
"cant remove Attributes from request scope"  
09/07/01 02:36remain   

PM 

Please respond 

to struts-user 

   

   





Hi, Geoff and Mark and all

Thank you for answer my question on how to use struts in VAJ
I got it run but with a error
Server caught unhandled exception from servlet [jsp]: cant remove
Attributes from request scope
I followed the e-mail Geoff sent out on 8/21/2001 with

Replace the following lines in the doEndTag() method in the FormTag
class:

 pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
 pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);

with the following:

 pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
 pageContext.getRequest().removeAttribute(Constants.FORM_KEY);

The problem remains, is there anything else I need do ?

Julia







*** IMPORTANT NOTE *
The opinions expressed in this message and/or any attachments are
those of the author and not necessarily those of Brown Brothers
Harriman & Co., its subsidiaries and affiliates ("BBH").  There is no
guarantee that this message is either private or confidential, and it
may have been altered by unauthorized sources without your or our
knowledge.  Nothing in the message is capable or intended to create
any legally binding obligations on either party and it is not intended
to provide legal advice.  BBH accepts no responsibility for loss or
damage from its use, including damage from virus.