On 2/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
Can anyone give me a reason _NOT_ to pre-compile jsp's?
Seems to take a short amount of time to compile in maven, and I get to see
what issue I have right away.
This is an interesting article about jsp precompiling:
http://www.mernst.org/blog/archives/02-01-2006_02-28-2006.html#39
so judge yourself if it's useful or not, and whether EL compiling should be added to J5EE/J6EE.

OT: One other thing that I didn't know about jsp's was that if I'd do ${bean.property} to read the property, it would be re-evaluate the get method which I guess would be the correct thing to do but I've noticed I've gained tremendous speed improvements if sometimes I put the property in an intermediary jsp bean and reuse it on the page when the property is a collection of items that I recuperate via Facade from the EJB tier and Hibernate. So, that's just a tip if someone uses this multi-layer approach that can avoid you some very expensive round-trips (that I doubt people do anymore thanks to spring).

Srgjan

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

Reply via email to