tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McLane, Bryan" <>
Subject RE: about JavaBeans
Date Tue, 04 Jun 2002 13:51:57 GMT
Simply, put the value in an attribute of the bean and access through the
getter. See mtemp in the example attached.

-----Original Message-----
From: Anibal Constante Brito []
Sent: Monday, June 03, 2002 11:35 PM
To: Tomcat
Subject: about JavaBeans

I'm doing a simple JavaBenas, like the

<jsp:useBean id="JSPWithCounterBeanId" scope="session"
class="jsptutorial.JSPWithCounterBean" />
<jsp:setProperty name="JSPWithCounterBeanId" property="*" />

It very simple, but my question is how can I send text o something to
browser from inside the JavaBeans, inside de JSPWithCounterBeanId for

Best Regards.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message