Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

regarding expression language  RSS feed

 
bala.T murugan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new expression language
what is the meaning of ${ ob.param.paramname}

i want to know what is
ob
param
paramname

can any body help me
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Expression Language is covered in Chapter JSP.2 of the JSP Specification, a link to which can be found in the JSP FAQ.

In short -- because it's far too broad a subject for anyone to cover extensively in a forum -- "ob", since it is not one of the EL built-in variables, is a reference to a scoped variable that will be searched for in the variable scopes available to the JSP. Depending upon what type of object ob turns out to be, the rest of the expression will be interpreted accordingly.

If ob turns out to be a bean, for example, "param" is taken as a property of that bean. Again depending upon the type of param, "paramname" may be a property of the param object.

Be sure to read the JSP Specification thoroughly (if you are working in JSPs and do not have copies of the Servlet, JSP and JSTL specifications on your desk, you're doing it wrong) and be sure that you understand JavaBeans and the Java Collection classes.
[ August 09, 2006: Message edited by: Bear Bibeault ]
 
Stefan Evans
Bartender
Posts: 1834
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This page also provides an excellent reference
http://java.sun.com/products/jsp/docs.html

Specifically on EL Expressions:
http://java.sun.com/products/jsp/syntax/2.0/syntaxref207.html#1010522
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!