Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WHEN TO USE EL?

 
Rollyn
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Would someone help me be clarified on when to use EL? Why should I use it?
 
John Wolf
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic