This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
By default the included page is displayed at the bottom of the page where you included it.Post the full code of servlet.
Joined: Sep 22, 2003
Hello, thanks for your answer. Well, full code of the Servlet is just in those few lines in the doGet() method. Nothing else. Now if I think over it, it should be allowed to include a web page from a Servlet in the same web page, as the response has been already committed. (But so why they added the method "include" in a Servlet ?)Anyway I tested this on Tomcat 5.0.16. I'll try to have a run on another Application Server and see it. regards Francesco
Joined: Mar 18, 2004
I have included a jsp in a servlet its working fine. Its get included at the bottom of the page where i have included it. I have used tomcat. Its working fine.
subject: Is it possible to include a file from a Servlet ?