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 JSP and the fly likes expression language 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 » Java » JSP
Bookmark "expression language" Watch "expression language" New topic

expression language

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

The expression langauge is supposed to help the web page designer.
If I make some mistakes in the expression passed as argument I will know the mistake only during runtime.
I consider it as an big disadvantage?

Gustavo Adolpho Bonesso
Ranch Hand

Joined: May 11, 2002
Posts: 103
In the Java Developer point of view, i agree with you, but expression language it's a feature for non-java programers.

Gustavo Adolpho Bonesso<br />SCJP1.4
Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Well, I don't think so, cause expression language were created to avoid scriptlet codes in JSP pages and make an easy way to access objects and his methods. For example, instead using <jsp:getProperty name="user" property="name" /> you can use just ${}
Both ways works dynamically, so the designers don't have to concern about that, just have to do this with non-dynamic stuff (view only). The rest is our problem (developers).

Tiago Fernandez
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Yes,I agree with you guys.
When an web designer writes a javascript code he/she will not know the errors untiul runtime.
I agree. Here's the link:
subject: expression language
Similar Threads
WA #1.....word association
[semantics] What "too bad" means to British and what to Americans
Garbage for objects and strings ...
Regex API
regular expression which doesnt alllow *