tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McLane, Bryan" <Bryan.McL...@Schwab.com>
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 [mailto:aconstante_00@hotmail.com]
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
example?

Best Regards.
Owen.



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message