>---Werner Hennrich <[EMAIL PROTECTED]> wrote:
>> Making the dataobject a real Bean to the JSP page would be much much
>better;
>> I could then use 0.92's features like <display>, <includeif> and
><loop>
>> instead of Snippets. I wonder how to do that in 0.92.
>
>I was wondering the same thing (though I wouldn't have articulated it
>so well). From my perspective, how do you instructy a JSP to use a
>bean which is 1) already instantiated and 2)neither session nor
>application-scope?
>
if u look at the  code generated for a JSP page, in(.92 ref implementation)
it always  calls "getAttribute" first then only try to instantiate a new Bean, in my 
opinion(though the spec is somewhat unclear) the meaning of
the statement "first try to find the Bean" is
        --call getAttribute
        --if not found instantiate new Bean.
so after setting a Data Bean from a servlet u can very well use the DISPLAY and other 
tags, simply use USEBEAN TAG and go on using Bean in usual manner.
hope it makes things somewhat clear
--Nitesh kumar Neema

===========================================================================
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