aspose file tools*
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:
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: is there a similar function which acts like jsp:include in servlet