This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp include" Watch "jsp include" New topic

jsp include

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
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

Joined: May 08, 2001
Posts: 84
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.
I agree. Here's the link:
subject: jsp include
Similar Threads
RequestDispatcher Include
Can I call a Servlet from Javascript after running local code?
include directive -> Can include web component?
Can I include a jsp page in servlet
include action tag in JSP