<xsp:logic>
MyBean myBean = new MyBean();
myBean.setXXX("test");
String s = myBean.getYYY();
<!-- write your tag and the value of variable s to the output -->
<your_tag>
<xsp:expr>s</xsp:expr>
</your_tag>
</xsp:logic>
DR
At 10:39 PM 12/25/01 +0530, you wrote:
>Hi,
>
>Using Cocoon 1.8 I am calling an xml page. On the click of a button I wish to call a
>java bean to process the data. How will the bean access the data? In a JSP we do the
>same using the get-set methods. In XSP how does the bean have access to the data and
>how should the bean be called from the xml?
>
>Thanks,
>
>Raju
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>