Reputation: 27259
what is the advantage of using EL over scriptlets in JSP.EL is said to be scriptfree language
Upvotes: 2
Views: 484
Reputation: 1109715
EL keeps the JSP free from errorprone raw Java code and forces you to write the JSP according the MVC ideology. Anything which isn't possible with EL (or taglibs like JSTL) would then technically and semantically belong in a real Java class. That's the most major advantage.
Upvotes: 5
Reputation: 597402
The advantages of using EL are:
Upvotes: 4