• Post Reply Bookmark Topic Watch Topic
  • New Topic

new include tags  RSS feed

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the functionality of <include-prelude> and <include-coda>
<jsp-property-group>
<url-pattern>/two/*</url-pattern>
<include-prelude>/WEB-INF/jspf/prelude2.jspf</include-prelude>
<include-coda>/WEB-INF/jspf/coda2.jspf</include-coda>
</jsp-property-group>
 
Milind Patil
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chintu,

Its basically same as defining header and footer for your JSP pages. Its compile time include (i.e include directive).

Check out this nice article...
Configuring JSP using the Property Groups

But I don't think, this is a part of SCWCD exam. Any ideas??
[ August 21, 2008: Message edited by: Milind Patil ]
 
Jan Sterk
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Milind: I agree: looking @ your link, it's like the static include directive. The big difference is, that you can define headers & footers for a whole set of JSP's at once.

I'm not sure if it's an exam objective, but it's not complicated either And I expect it to be a very useful feature in the real world. So my advice: memorize it.

[ August 21, 2008: Message edited by: Jan Sterk ]
[ August 21, 2008: Message edited by: Jan Sterk ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!