JSP and JavaBean
1 posts in topic
Flat View  Flat View

Posted By:   qizhik_Lee
Posted On:   Thursday, March 22, 2001 02:27 PM

I'm creating 2 jsp pages, one is for HTML and another is for WML. I'd like to reuse the bean and make a little modification for the bean when I created to support my html page. I'd like to know how do I pass the info from Jsp page and how to retrieve info from the bean to let the bean know that it's time to deal with "if (html)" or "if (wml)". Thanks a lot in advance!!

Re: JSP and JavaBean

Posted By:   AlessandroA_Garbagnati  
Posted On:   Saturday, March 31, 2001 11:52 PM


Assuming that you have a member in your bean that it's used to set the page type, you can do something like this:

Then in the page you'll do:


and in the page:

About | Sitemap | Contact