This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP performance" Watch "JSP performance" New topic
Author

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?

Thanks.
Ben Souther
Sheriff

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: http://aspose.com/file-tools
 
subject: JSP performance
 
Similar Threads
Hashtable or HashMap
This weeks Giveaway
confusion in declaration
body-content as JSP
Including static content