Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Fragment and body-content  RSS feed

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..
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!