File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP performance" Watch "JSP performance" New topic

JSP performance

Allen Bandela
Ranch Hand

Joined: Feb 16, 2006
Posts: 128

1) What are the factors in a JSP page that would affect its performance drastically. I have a jsp that uses scripting and takes a while to process.

2) Does using scripting as opposed to EL hinder the performance of the page?

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

By "scripting", I assume you mean scriptlets.

The answer is no.
Your JSPs get compiled into servlet code before being interpreted by the container. Any difference between scriptlets and JSTL/EL would be negligible.

The reasons to move away from scriptlets have more to do with maintainability than with performance.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: JSP performance
It's not a secret anymore!