Re: how can a bean access the XML data

2001-12-26 Thread David Rosenstrauch
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:exprs/xsp:expr /your_tag /xsp:logic DR At 10:39 PM

how can a bean access the XML data

2001-12-25 Thread m-rao
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