Any chance you can upgrade to 6.1? iPlanet now uses Tomcat.
-- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx ----- Original Message ----- From: "Adolfo Miguelez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 6:49 AM Subject: Re: HELP using struts1.1 and iplanet4.1 sp7 > Hi Juan Pedro, > > >---> "cant remove Attributes from request scope" > > > >(uri=/logon.jsp): javax.servlet.ServletException: cant remove Attributes > >from request scope, stack: > >javax.servlet.ServletException: cant remove Attributes from request scope > >at > >org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextIm pl.java:384) > >at _logon_jsp._jspService(_logon_jsp.java:429) > >at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:826) > >at > >com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.ja va:507) > >, root cause: java.lang.IllegalArgumentException: cant remove Attributes > >from request scope > >at > >org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.j ava:236) > >at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:668) > > I found a very similar problem under VisualAge because a different > implementation in IBMs JVM and Sun. > It needed a path. Do not why it should apply to your iPlanet, but maybe is > worth testing. Replace in FormTag.doStartTag() the lines: > > pageContext.removeAttribute("org.apache.struts.taglib.html.BEAN", > .....); > pageContext.removeAttribute("org.apache.struts.taglib.html.FORM", > .....); > > > by: > > // Remove the page scope attributes we created > pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); > pageContext.getRequest().removeAttribute(Constants.FORM_KEY); > pageContext.removeAttribute(Constants.BEAN_KEY); > pageContext.removeAttribute(Constants.FORM_KEY); > > and try again. > > >-->"¿TAglibs no compatibles with jsp1.1?" > >Unable to compile class for JSPc:\server4\https- > >asoria113\config\..\ClassCache\_jsps\_changePassword_jsp.java:69: > >Incompatible type for method. Can't > >convert java.lang.String to boolean. > > _jspx_th_html_html_0.setLocale("true"); > > This seems a common compilation problem in JSPs. Make a toString() in the > boolean. > > Without more info no idea about the other exceptions. > > Adolfo. > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]