Is it possible to invoke jsp from a bean? Or to otherwise nest jsp?

The need is to build pages in components. The overall layout of the
page could be determined by some template jsp. The template
would invoke beans to fill in its display regions. The regions
could be complex, requiring html. Yet the details of the region
are determined at run time.

Think of the problem like the My Yahoo page. On that page you
can specify if you want news, weather, or stock sections. The
master template would have the common things displayed on all yahoo pages,
like the header and footer. A bean would determine what to display in the
individual sections based on a user's preferences. These sections
are not known when the master template is being designed. The
individual sections can be complex. It would be nice if the layout
of a particular section was determined by a jsp page. In fact, the
section may be made up of other nested jsp pages.

One way to do this would be for a bean property to somehow invoke
a jsp page. Let's say there is a bean that provides the content of
the leftregion of the page. That bean might determine that the business
news should be displayed in that region, and, some how, tells the
business news jsp page to display its content there.

Is this possible?

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