Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Fragment and body-content

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks..

I know this was talked about recently as well..
Though i also followed it, i still have problems in the area..

HFSJ also provides inadequate coverage on the area...

In Tag file(.tag ones) we cant put this-- <%@tag body-content="JSP"%>

But Simple tags (that extend SimpleTagSupport) can have anything as its body content...

And we know setJspBody(JspFragment) takes a JspFragment with encapsulates the body stuff withing the tag's body when used in JSPs...

But HFSJ says JspFragment shouldn't have scripting within...

Can someone please a give a explanation so that I can better understand the area..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic