cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Ulrich" <devmaill...@pnpconsult.com>
Subject WG: Rendering a jsp : JSP it compiled 3 times -> performance problem
Date Thu, 31 Jan 2002 16:52:10 GMT


-----Urspr√ľngliche Nachricht-----
Von: Kai Ulrich [mailto:ulrich@pnpconsult.com]
Gesendet: Donnerstag, 31. Januar 2002 11:59
An: cocoon-users@xml.apache.org
Betreff: AW: Rendering a jsp : JSP it compiled 3 times -> performance
problem


Thanks for you intereset !

the Datas :

- Windows 2000
- JBoss-2.2.2_Tomcat-3.2.2
- StrutsFramework
- coocon 2
- Servlet.jar  v 2.2

Regards, kai


-----Urspr√ľngliche Nachricht-----
Von: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
Gesendet: Donnerstag, 31. Januar 2002 11:26
An: cocoon-users@xml.apache.org
Betreff: Re: Rendering a jsp : JSP it compiled 3 times -> performance
problem


Hi!

What is your configuration? Platform, servlet engine, etc.

Regards,
    Konstantin Piroumian

> hey !
> My Problem :
>
> I want to render a JSP (Struts Tags) with cocoon !
> Everything works fine !
> 1. A servlet arrange the data an puts the beans to the request.
> 2. forward to the coocoon Servlet
> ...
> RequestDispatcher rd =
> etServletContext().getRequestDispatcher( "/cocoon/printBasket" );
> rd.forward( req, res );
> ...
>
> [web.xml]
> ...
> <!-- Cocoon Servlet Mapping -->
>   <servlet-mapping>
>     <servlet-name>Cocoon2</servlet-name>
>     <url-pattern>/cocoon/*</url-pattern>
>   </servlet-mapping>
> ...
>
> 3. piped to the print.jsp
>
>    [sitemap.xmap]
>    ...
>    <map:match pattern="cocoon/printBasket">
>     <map:generate type="jsp" src="print/printBasket.jsp"/>
>     <map:transform src="stylesheets/print2fo.xsl"/>
>     <map:serialize type="fo2pdf"/>
>    </map:match>
>    ...
>
> But I have a little performance Pronblem:
> - One thing attracted attention : By the executing the pipe, the JSP it
> compiled 3 times and the servlet  is executed 2 more times!
> Is that usual ? Can I do something to get a better performance ?
>
> Thanks for Help
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message