• 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

What should i assign for body-content in tag file to evaluate EL

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

As given in HFSJ body-content default value for tag attribute in Tag file is "scriptless"

What value should i assign to body-content attribute to evaluate the EL in body

I tried with "tagdependent" and "scriptless" but it is not evaluating EL..

Is it the way it should work or any thing wrong with my example..

Thanks & Regard,
Sudhakar Karnati
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I tried with "tagdependent" and "scriptless" but it is not evaluating EL..


Your web.xml is probably not configured properly. Go through this FAQ, and check that your web.xml is configured the way you are told to in the FAQ. (use servlets 2.4 configuration)
 
sudhakar karnati
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Your web.xml is probably not configured properly. Go through this FAQ, and check that your web.xml is configured the way you are told to in the FAQ. (use servlets 2.4 configuration)



EL outside custom tag(Tag file) is working fine..
I want to know what should i keep in
<%@ tag body-contnet="tagdependent or scriptless" to evaluate the EL in between custom tag body..

I am able to use EL outside the custom tag with out any problems..

Thanks & Regards,
Sudhakar Karnati
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It will work with scriptless. Please show us your Tag file. Did you use jsp:doBody ?
 
sudhakar karnati
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Christophe Verre, i added jsp :dobody and now it is evaluating EL expressions.

Thanks & Regards,
Sudhakar Karnati
[ July 07, 2008: Message edited by: sudhakar karnati ]
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sudhakar karnati wrote:Thanks Christophe Verre, i added jsp :dobody and now it is evaluating EL expressions.

Thanks & Regards,
Sudhakar Karnati
[ July 07, 2008: Message edited by: sudhakar karnati ]




how do i use jsp:doBody to evaluate the EL expressions in the tag file
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

how do i use jsp:doBody to evaluate the EL expressions in the tag file


doBody is used to evaluate the body of the tag. EL in the tag file is automatically recognized. What problem do you have ?
 
To do a great right, do a little wrong - shakepeare. twisted little ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic