tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Oliveira <olive...@milu.ipn.pt>
Subject Re: javabeans + jsp
Date Thu, 14 Sep 2000 17:32:13 GMT
Yeps... 

Java beans are classes that you must put under your context's web-inf/classes
directory.. and you access them by doing the following:

Declaring the bean to use:
<jsp:useBean id="myBean" scope="page" class="myBeanClass" />

Using the bean:
<% String value = myBean.getValue(); %>


Regards

Rui Oliveira

On Thu, 14 Sep 2000 18:16:08 +0100 (BST)
Osvaldo Brito <osvaldo@laplace.inesc.pt> wrote:

> Does anyone have an idea about how does work javabeans with jsp.
> Thanks in advance.
> 
> Osvaldo Brito
> 
>                                 
> 
> 
> 


Mime
View raw message