Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes is there a similar function which acts like   jsp:include   in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "is there a similar function which acts like   jsp:include   in servlet" Watch "is there a similar function which acts like   jsp:include   in servlet" New topic
Author

is there a similar function which acts like jsp:include in servlet

Joshua Cloch
Ranch Hand

Joined: Apr 27, 2006
Posts: 95
Hi guys,

I am going to include a header.jsp or footer.jsp in my servlet.any suggestions?


truehh@hotmail.com
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

See:
javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)" target="_blank" rel="nofollow">http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html#include(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)
[ July 06, 2006: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
wood burning stoves
 
subject: is there a similar function which acts like jsp:include in servlet