Hi,

I am trying to use Struts and have not been able to make it work in my
environment.  I am running Visual Age for Java 3.5.3 (JSP 1.1 & Servlet
2.2).  I followed the instructions for setup and have double checked them.
I am getting the following error in my browser when I invoke a jsp.  I was
hoping someone might have a clue as to where the problem might be OR where
I might look to find more info.

Error 500
An error has occured while processing 
request:http://localhost:8080/employeelist/jsp/employeeSearch.jsp
Message: Server caught unhandled exception from servlet [jsp]: cant remove Attributes 
from request scope

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

java.lang.IllegalArgumentException: cant remove Attributes from request scope
     java.lang.Throwable(java.lang.String)
     java.lang.Exception(java.lang.String)
     java.lang.RuntimeException(java.lang.String)
     java.lang.IllegalArgumentException(java.lang.String)
     void org.apache.jasper.runtime.PageContextImpl.removeAttribute(java.lang.String, 
int)
     int org.apache.struts.taglib.html.FormTag.doEndTag()
     void jsp._employeeSearch_xjsp._jspService(javax.servlet.http.HttpServletRequest, 
javax.servlet.http.HttpServletResponse)
     .....(more)....

I've traced the generated java code for the jsp and the exception happens at the 
doEndTag() method (as the stack trace shows above) for the
</html:form> tag.
The simple jsp I'm invoking is shown below.

<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<html:html locale="false">
<html:errors/>
<html:form action="processEmployeeSearch.do">
Name: <html:text property="name"/><BR>
Find All: <html:checkbox property="findAll"/><BR>
<html:submit/>
</html:form>
<A HREF="http://localhost:8080/employeelist/jsp/employeeEdit.jsp";>Add an Employee</A>
</html:html>

The action servlet shouldn't even be invoked yet since I'm calling the jsp
and it won't even display.  I'm sure it's something simple but I can't find
it.  Does this mean anything to anyone?  I've been struggling with this for
a while and am out of ideas.

Thanks,
Ken




-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions 
Health Services Corporation and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to [EMAIL PROTECTED]  Thank you

Reply via email to