hi nesto, I don't know the xbean logicsheet at all (doesn't seem to be in cocoon <= 2.0.4), but anyway;
in the simplest case, the <jsp:useBean> boils down to a variable declaration (scope = page): <jsp:useBean id="myBean" scope="page" class="mypackage.MyClass"/> would have an equivalent of something like this: <xsp:logic> mypackage.MyClass myBean = new mypackage.MyClass (); </xsp:logic> for the other scopes you have to store/load those variables in/from the respective contexts: for session scope it's the session, for application scope it's the ServletContext. both have getAttribute()/setAttribute() which you can utilize. hope this helps, in case that xbean logicsheet is not available. you eventually might want to take a lookt at the JSP spec. -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Nesto Gesendet: Mittwoch, 19. Februar 2003 15:11 An: [EMAIL PROTECTED] Betreff: XSP question Hi! Sorry if I repost a question, but I need help! I want to convert my JSP in XSP, and I have to reuse complex Javabeans. I read in the Logicsheet documentatin that there is a xbean library that provides functionallity similar to the jsp:useBean directives. But I didn't found much more documentation, and I don't know how to use it! Where I can read more? Please give me some hint on how "translate" my <jsp:useBean id="xxx" scope="session" class="yyy.zzz" /> of my old JSP, in code for my new XSP Regards, Nesto --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>