Hi Siva,

This is a problem that has been addressed on this list before. If I recall
the solution is a *hack* unfortunately. Edit
org.apache.struts.taglib.FormTag.doEndTag so the first two lines read : 

// Remove the page scope attributes we created
pageContext.removeAttribute(Constants.BEAN_KEY);
pageContext.removeAttribute(Constants.FORM_KEY);

This seems to resolve the issue, not sure if its the best way round it
however. 

Jon.

-----Original Message-----
From: Siva Chilukuri [mailto:[EMAIL PROTECTED]] 
Sent: 30 May 2001 02:04
To: '[EMAIL PROTECTED]'
Subject: Server caught unhandled exception from servlet [jsp11]: cant remo
ve Attributes from request scope

Hi,

        I tried to run struts example application in Websphere3.5.3.  It's
giving following error message. Any ideas how to correct this?

An error has occured while processing
request:http://localhost/struts-example/editRegistration.do
Message: Server caught unhandled exception from servlet [action]: Server
caught unhandled exception from servlet [jsp11]: cant remove Attributes from
request scope

Target Servlet: action
StackTrace: 
----------------------------------------------------------------------------
----
Root Error-1: cant remove Attributes from request scope

java.lang.IllegalArgumentException: cant remove Attributes from request
scope

Thanks
Siva

-----Original Message-----
From: Richard Backhouse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 4:55 PM
To: [EMAIL PROTECTED]
Subject: Sample HDML/Wireless Struts Application


For anyone who is interested, I have put together a sample hdml/wireless
based 
struts application. 

You can get the source and a pre-build j2ee binary at :

http://www.oakgrovesoftware.com/~rbackhouse

It is a simple shared contact database that phone users can access and 
add/edit/delete contacts. You should be be able to getting it running with 
either the default setup of JBoss/Tomcat or Orion.

There is more information at the above link. 

Richard Backhouse
Oak Grove Software

Reply via email to