I did something like that. However it breaks the MVC separation model.
Here is what I called a "viewlet":
<BODY>
<!--calendar viewlet begin-->
<jsp:useBean id="Calendar" class="com.ss.viewlet.SsCalendar"/>
<jsp:getProperty name="Calendar" property="view"/>
<!--calendar viewlet end-->
</BODY>
and of course the class SsCalendar has a method String getView() which
returns an HTML formated string which could be embeded anywhere in an
HTML page.
ovi.
<
Elena Palanca wrote:
>
> Hi,
> I would like to view a JavaBean component that implement a user
> interface in a JSP page. What I have to do?
> In the JSP page after instantiate the javabean I should call a metod to
> view the bean, shall I create it?
> I'm trying to do this using the samples provided by the BDK (simple
> buttom, textbox ec..).
> Some ideas?
> Thanks
> Elena
===========================================================================
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".