Sorry, I found I've to use jsp:useBean (with uppercase "B") !
----- Original Message ----- From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 3:09 PM Subject: Don't anderstand jsp:usebean mecanism > On tomcat 3.3.1 I tried the following JSP code: > > <jsp:usebean id="logonForm" class="java.lang.String"/> > > <% > Object toto = pageContext.getAttribute("logonForm"); > Object titi = pageContext.getRequest().getAttribute("logonForm"); > Object tutu = pageContext.getSession().getAttribute("logonForm"); > %> > <%= toto %> > <%= titi %> > <%= tutu %> > > JSP 1.1 spec says this jsp:usebean syntax would instanciate a new bean (here > a simple String). Where is it ? > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>