This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes WHEN TO USE EL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "WHEN TO USE EL? " Watch "WHEN TO USE EL? " New topic
Author

WHEN TO USE EL?

Rollyn
Greenhorn

Joined: Apr 12, 2005
Posts: 23
Hi,

Would someone help me be clarified on when to use EL? Why should I use it?


Buhay Estudyante
John Wolf
Ranch Hand

Joined: Feb 18, 2002
Posts: 64
ROLLYN,

Top 10 reason why you should use EL:-

1) Everyone's doing it.
2) It separates the business logic from the JSP.
3) You have to type less.
4) Its fun and powerful.
5) Web designers can learn it too.
6) Its on the exam.
7) You will know more than your peers.
8) Your JSP code will be clean and easier to read.
9) Your boss will make you his "go to" guy.
10) You might even get a raise.

As for when to use it? You should use it when you have J2EE 1.4 implemented, since you need JSP 2.0. But you don't have to use EL. Its another way of doing things, its all upto you...
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

It is also useful when the scripting elements are not allowed. Such as Tag files.

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
 
jQuery in Action, 2nd edition
 
subject: WHEN TO USE EL?
 
Similar Threads
Compare between EL and TagLib
Broken link in bean tag
Replace scriptlet
Jstl and EL
using struts logic empty tag with request