struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject Re: HELP using struts1.1 and iplanet4.1 sp7
Date Wed, 24 Sep 2003 13:05:09 GMT
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" <pelly69@hotmail.com>
To: <struts-user@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message