• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

expression language

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Java Developer point of view, i agree with you, but expression language it's a feature for non-java programers.
 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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 ${user.name}
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).
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,I agree with you guys.
When an web designer writes a javascript code he/she will not know the errors untiul runtime.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic