• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validation-Expression Language

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I have a problem with taglibs ..whenever i give
some expressions, it is not getting validated but it is shown simply as text in the jsp page.
this is the tag
<test:hello val='${beanObj.name}' />
the value of the beanObj.name is set using <useBean>..
Also in the tld file, the "rtexprvalue" is set as true.
need help
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of JSP are you using? What is the code for TestTag like? EL will be introduced in JSP 2.0 but, is only available inside the JSTL tags before that. You can get the code for JSTL from Jakarta and see how they have implemented EL. You could even extend some of those tags to give you this functionality but, unless you do something specific (ie extend JSTL or write your own EL parser) you will not have it available to you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic