cocoon : execute generated JSP

G

galpix

Hi folks,

I'm using cocoon-2.1.7 with Tomcat-5.5.9 on MacOS X

I created an XSP page that uses a logicsheet I wrote to generate JSP. I
need to get this JSP executed, but so far all I've been able to do is
have the JSP code outputed in the HTML doc.

My pipeline looks like this :

<map:match pattern="*.view">
<map:generate src="{1}.xsp" type="serverpages"/>
<map:serialize/>
</map:match>

After generating from my xsp source, I have a JSP doc ... how do I get
it executed before I serialize to HTML ? There are plenty of examples
when you generate with a JSP as a source doc, but not when I end up
with JSP in the pipeline.

[I trying to use java beans from within XSP. Since there's no
equivalent to <jsp:useBean> in xsp, I wrote a logicsheet that generates
and outputs the JSP tags I need.]

many thanks,

galpi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top