File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes expression language is all in all Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "expression language is all in all" Watch "expression language is all in all" New topic

expression language is all in all

ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
what are the difficulties with expression language?
and where we use the user interface in the jsp
can you explain it with a good example(inside that user interface must be available) so that i can understand?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62464

I'm not sure what you are asking.

If you are asking if there are limitations to the Expression Language, then, yes there are. And they are deliberate.

The Expression Language, in concert with the JSTL, is intended to usher in an age where JSP pages are solely used as scriptless view units for a web app, with all control, processing and computational processes occurring outside the view.

Essentially, the intentional limitations serve as a "red flag". If you are finding that it's difficult to do something on a JSP page using just JSTL and EL, there's a good chance that it's something you shouldn't be doing there.

This requires that an appropriate web application structure, such as Model 2, is in place. This article goes into that.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Charles McGuire
Ranch Hand

Joined: Jan 18, 2005
Posts: 99

I have been grinding away on an EL problem all day long (why my EL won't resolve), only to find that my Web.xml has been at version 2.5 but I'm deploying to Tomcat 5.5.26 which only supports 2.4. Duh! (Sound of hand slapping forehead) The servers at Google must be smoking hot with all the search requests I've made to no avail today.

The answer was here on your site, in the FAQ page.

Thank you thank you thank you thank you thank you thank you!!!

There's no place like
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62464

We aims to please!
I agree. Here's the link:
subject: expression language is all in all