aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WHEN TO USE EL?
 
Similar Threads
Replace scriptlet
Jstl and EL
Broken link in bean tag
using struts logic empty tag with request
Compare between EL and TagLib