The EJB bit is beyond me, I guess yes if it's in the same JVM ...? You can actually use request.getParameter within a bit of <xsp:logic/> rather than the request logicsheet, though the latter is an option.
Good Luck Christopher > -----Original Message----- > From: Deepak Mehta [mailto:[EMAIL PROTECTED]] > Sent: 04 June 2002 15:32 > To: [EMAIL PROTECTED] > Subject: Re: XML generation > > > Thanks, > > This worked! Now I have the output part working, now I need to work on a > form that creates a record in an entity EJB. I assume I use the request > logicsheet to get the parameters from the form post and then > invoke a method > on my singleton to invoke a create on the EJB... Could it be so simple? > > Regards > Deeeep > > On 4/6/02 16:27, "Christopher Watson" <[EMAIL PROTECTED]> wrote: > > > > >> -----Original Message----- > >> From: Deepak Mehta [mailto:[EMAIL PROTECTED]] > >> Sent: 04 June 2002 10:53 > >> To: [EMAIL PROTECTED] > >> Subject: XML generation > >> > >> > >> Hi All, > >> > >> Here is some info on the specs of my setup before I explain > the problem: > >> > >> -CPU: MacOSX 10.1.4 running JDK 1.3.1 > >> -EJB: Jonas 2.4.4 with embedded tomcat 3.3.1 and cocoon 2.0.2 > >> -DB: PostgreSQL 7.1.2 with standard JDBC drivers > >> > >> Setup: Jonas runs EJBs and Tomcat has a singleton servlet that > connects to > >> the EJB and has methods for the XSP pages to generate dynamic XML. > >> > >> Problem: if I let the singleton generate a String containing the > >> final XML, > >> which is easy, since I do not need to throw a lot of things > Cocoon's way, > >> then the problem is that Cocoon converts the '<' and '>' to > > >> and <... > > > > Deepak, I suspect you've got something like > > <xsp:expr>myStringVariable</xsp:expr> > > > > try replacing this with > > > <util:include-expr><util:expr><xsp:expr>myStringVariable</xsp:expr > ></util:ex > > pr></util:include-expr> > > > > Also, to use the util: logicsheet, you'll need to add > > > > xmlns:util="http://apache.org/xsp/util/2.0" > > > > to your opening xsp:page tag > > > >> Is there a way to stop Cocoon from messing with the String > data in an xsp > >> page? > >> > >> Thanks > >> Deeeep > >> > >> -- > >> ------------------------------------------------------------------ > >> --------- > >> Deepak 'Deep' Mehta > >> E-mail: [EMAIL PROTECTED] > >> URL: http://www.deeeep.com/ > >> > >> PGP Fingerprint: 837E B8E6 6AF4 6675 2730 0848 7731 09F5 3445 00A5 > >> > >> Money-making is a wonderful thing (Maxin & Skin in Carmen Queasy) > >> ------------------------------------------------------------------ > >> --------- > >> > >> > >> --------------------------------------------------------------------- > >> 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]> > >> > >> > > > > > > --------------------------------------------------------------------- > > 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]> > > -- > ------------------------------------------------------------------ > --------- > Deepak 'Deep' Mehta > E-mail: [EMAIL PROTECTED] > URL: http://www.deeeep.com/ > > PGP Fingerprint: 837E B8E6 6AF4 6675 2730 0848 7731 09F5 3445 00A5 > > Money-making is a wonderful thing (Maxin & Skin in Carmen Queasy) > ------------------------------------------------------------------ > --------- > > > --------------------------------------------------------------------- > 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]> > > --------------------------------------------------------------------- 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]>