• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP performance

 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic