Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL access

 
Ramprasad Subburaman
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can anyone explain why the below code



Doesn't display the value of name.

Also, please tell me how to print the value of name using EL

Regards,
Ramprasad
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ramprasad Subburaman:
Hi All,
Can anyone explain why the below code



Doesn't display the value of name.

Also, please tell me how to print the value of name using EL

Regards,
Ramprasad



The EL is not for the scripting variables. It require scoped variables.

To display the name ypu have to add the name variable in page, request, session or application scope. Try this



Thanks
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<hr></blockquote>
Minor typos in there! It should be:
[ May 11, 2006: Message edited by: Charles Lyons ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic