has the <bean> tag been deprecated? and now it's the <jsp:useBean> tag?

frank

Rikard Elofsson wrote:

> Cheryl Lee wrote:
>
> > Can I use two beans in one jsp page? As I have different set of data
> > in two beans but need to present in one jsp page, how to do it?
>
> Just do it, like:
>
> <jsp:useBean id="x" class="myClass1" scope="request"/>
> <jsp:useBean id="y" class="myClass2" scope="request"/>
>
> <%=x.doThis()%>
> <%=y.doThat()%>
>
> //Rikard
>
> ===========================================================================
> 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".

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