RE: Integrating servlet output into JSP

2000-11-18 Thread Wyn Easton
-- for carnell - I lost the message link I had a moment to look at the Tomcat source and in RequestDispatcherImpl saw that the service() method is called for RequestDispatcher's forward() and include(). JSP's _jspService() is like a regular servlet's service() method. So, if you want to include

Re: Integrating servlet output into JSP

2000-11-18 Thread Craig R. McClanahan
Wyn Easton wrote: -- for carnell - I lost the message link I had a moment to look at the Tomcat source and in RequestDispatcherImpl saw that the service() method is called for RequestDispatcher's forward() and include(). JSP's _jspService() is like a regular servlet's service() method.

Re: Integrating servlet output into JSP

2000-11-18 Thread Wyn Easton
Wyn Easton wrote: -- for carnell - I lost the message link I had a moment to look at the Tomcat source and in RequestDispatcherImpl saw that the service() method is called for RequestDispatcher's forward() and include(). JSP's _jspService() is like a regular servlet's service()

Re: Integrating servlet output into JSP

2000-11-15 Thread carnell
Tuesday, November 14, 2000 5:15 PM Subject: Re: Integrating servlet output into JSP Hmm... I know that if I'm in the doPost() of a servlet and I include() another servlet the included servlet's doPost() method will be called. I'm not sure which method in the servlet is called when you do the

Re: Integrating servlet output into JSP

2000-11-15 Thread Wyn Easton
ml/end html tags etc, IE doesn't care :) - Original Message - From: "Wyn Easton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 2:55 PM Subject: Re: Integrating servlet output into JSP See code added below. --- c

Integrating servlet output into JSP

2000-11-14 Thread carnell
I am currently migrating two projects that we have, both in Servlets into JSP. Rather than rewriting everything into Model 2/with JSP architecture, is it possible for me to write a JSP page that includes the output of the Servlet(which make use of out.println a lot etc). I could simply remove

Re: Integrating servlet output into JSP

2000-11-14 Thread Wyn Easton
This may be over simplifying your problem, but have you looked at the RequestDispather include() method? It allows you to use the output of another servlet/JSP in the current servlet/JSP. --- carnell [EMAIL PROTECTED] wrote: I am currently migrating two projects that we have, both in Servlets

Re: Integrating servlet output into JSP

2000-11-14 Thread carnell
... etc.. } But how do I use RequestDispatcher in the JSP? Can't make much sense of the docs. - Original Message - From: "Wyn Easton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 12:38 PM Subject: Re: Integrating servlet output into JSP This m

Re: Integrating servlet output into JSP

2000-11-14 Thread carnell
works fine when entered into the browser.(although missing html/end html tags etc, IE doesn't care :) - Original Message - From: "Wyn Easton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 2:55 PM Subject: Re: Integrating servlet output into JSP See

Re: Integrating servlet output into JSP

2000-11-14 Thread Wyn Easton
- From: "Wyn Easton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 2:55 PM Subject: Re: Integrating servlet output into JSP See code added below. --- carnell [EMAIL PROTECTED] wrote: If in my JSP page, say bookholiday.jsp, I would like to include