Struts tiles layout performance

2006-04-07 Thread Raghuveer


In our Web application we are using struts,JSP for plumtree web application.

Does there will be any performance issue using Tiles if i migrate from
present normal layout to struts tiles layout
.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts tiles layout performance

2006-04-07 Thread Antonio Petrelli

Raghuveer ha scritto:

In our Web application we are using struts,JSP for plumtree web application.

Does there will be any performance issue using Tiles if i migrate from
present normal layout to struts tiles layout
  


If with normal you mean single JSPs, then yes, obviously there are 
some performance issues. When JSPs are not compiled yet, each piece of 
Tiles definitions must be compiled. After that, each tile must show its 
content, thus it is like invoking several JSP pages for a single request.
But it's question of a trade-off. With Tiles you can use the composite 
view pattern, useful if you have several reusable pieces of pages.


HTH
Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts tiles layout performance

2006-04-07 Thread Raghuveer

hi Antonio,

my web application runs both as Normal and plumtree portal.
so i want to clarify if any performance issues before implementing tiles

I have header,body,footer in my application.
header and footer are common through out application.
only body changes for all jsp's.I may be having 50 JSP pages.

Experts please add your comments/suggestions



!-- Base Tiles Definition --
definition name=base.definition path=/jsp/siteLayout.jsp 
put name=header value=/jsp/banner.jsp /
put name=footer value=/jsp/footer.jsp /
/definition
!-- Tiles Definition of Main menu --
definition name=page.mainmenu extends=base.definition
put name=title value=Main Menu /
put name=body value=/jsp/mainmenu.jsp /
/definition




-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, April 07, 2006 12:45 PM
To: Struts Users Mailing List
Subject: Re: Struts tiles layout performance


Raghuveer ha scritto:
 In our Web application we are using struts,JSP for plumtree web
application.

 Does there will be any performance issue using Tiles if i migrate from
 present normal layout to struts tiles layout


If with normal you mean single JSPs, then yes, obviously there are
some performance issues. When JSPs are not compiled yet, each piece of
Tiles definitions must be compiled. After that, each tile must show its
content, thus it is like invoking several JSP pages for a single request.
But it's question of a trade-off. With Tiles you can use the composite
view pattern, useful if you have several reusable pieces of pages.

HTH
Antonio


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]