You've got my Amen on that.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org

> -----Original Message-----
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:20 AM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:write
>
>
> Don't allow inflexible adherence to a design pattern blind you to the
> rational application of practical solutions.  A "pattern," after all, is
> simply a guide, not a rule.
>
> Mark
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 5:25 AM
>
> but isn't this a bad design then?
> Mixing up Struts tags and standard JSP.
>
> -----Ursprüngliche Nachricht-----
> Von: Jonathan Fuerth [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 3. Juni 2002 16:53
> An: Struts Users Mailing List
> Betreff: Re: bean:write
>
>
> On Mon, Jun 03, 2002 at 02:58:45PM +0200, [EMAIL PROTECTED] wrote:
> > Is there a possibility to write some values from the session to the
> > jsp, without having a bean for this value?
>
> Yes, with standard JSP:
>
> <%= session.getAttribute("mySessionAttr") %>
>
> See http://java.sun.com/products/jsp/tags/11/syntaxref115.html#11258
> for details on all the stuff you can do with standard JSP 1.1.
>
> To use the Struts custom tags (such as bean:write), I think you always
> need to define a bean before using the session attribute's
> value... but I've never tried it without.  Maybe it works. :)
>
> --
> Jonathan Fuerth - SQL Power Group Inc.
> (416)218-5551 (Toronto); 1-866-SQL-POWR (Toll-Free)
> Unleash the Power of your Corporate Data - http://www.sqlpower.ca/
>
> --
> 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]>
>
> --
> 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]>

Reply via email to