I’ve read many things that say to use JSTL or EL in JSPs….
I’m just curious; does using scriptlets in JSP affect the performance of the page?
I’ve read many things that say to use JSTL or EL in JSPs…. I’m
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The general advice to use JSTL and EL instead of scriptlets has absolutely nothing to do with performance; if anything, scriptlets are likely to yield better performance.
But they also lead to “tag soup” that is hard to maintain. You’re supposed to use JSTL/EL because JSPs are supposed to be a presentation layer and not contain significant logic.