• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sudhakar karnati
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • 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
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
ruchi grover
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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 Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • 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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic