aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes What should i assign for body-content in tag file to evaluate EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "What should i assign for body-content in tag file to evaluate EL" Watch "What should i assign for body-content in tag file to evaluate EL" New topic
Author

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

sudhakar karnati
Ranch Hand

Joined: May 03, 2007
Posts: 93
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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)


[My Blog]
All roads lead to JavaRanch
sudhakar karnati
Ranch Hand

Joined: May 03, 2007
Posts: 93
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

It will work with scriptless. Please show us your Tag file. Did you use jsp:doBody ?
sudhakar karnati
Ranch Hand

Joined: May 03, 2007
Posts: 93
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

Joined: Nov 11, 2009
Posts: 5
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What should i assign for body-content in tag file to evaluate EL