Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp include

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I include a servlet in an include inside a jsp page...

I thought I could do....

<jsp:include page="servlet/Banner" flush="true" />
 
Med Shabe
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet is not a page, therefore you can't include it. But you can do JSPs.
Prolly you can write your custom tag that does servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic