aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "expression language is all in all" Watch "expression language is all in all" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 61218
    
  66

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
Let me just say, THANK GOD FOR THE EL FAQ IN JAVARANCH!

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 127.0.0.1
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61218
    
  66

We aims to please!
 
wood burning stoves
 
subject: expression language is all in all