How about <DISPLAY property=login:user:name>
At least, that's .92 syntax. I don't know
.91 syntax.

-Harris


--- Doug Fields <[EMAIL PROTECTED]> wrote:
> > After experimenting a little with JSP, I think it
> is
> > possible to use Model 1 with good results by using
> > only one bean per JSP page. This bean makes
> references
> > to other more general data entity beans.
>
> Hello all,
>
> I actually use this approach. The "Login" session
> bean acts as a
> class factory for all other classes used. So, it has
> methods
> such as getUser(), etc., to get the other "beans."
>
> These are indeed Beans in all respects except that
> the constructor
> has only one instantiation: Constructor(Login) - to
> enforce login
> privlidges.
>
> I would like to have a JSP <BEAN> set of tags which
> says:
>
> <BEAN TYPE="net.company.User" NAME="user"
> SOURCE="login.getUser()">
>
> So that the later <DISPLAY...> type tags can use it
> as a bean.
>
> Right now, I'm stuck with
>
> <% net.company.User user = login.getUser(); %>
>
> And lots of
>
> <%= user.getName() %>
>
> type tags...
>
> Any thoughts?
>
> Cheers,
>
> Doug
>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to