> 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
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
-- 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 a
day, November 15, 2000 3:15 PM
Subject: Re: Integrating servlet output into JSP
> Well, nobody else has jumped in to tell us which method will be called,
> so, try putting the print statements in the servlets init() and
> service() methods. Maybe that will give us something to go on.
&
IL PROTECTED]>
> Sent: 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
lt;[EMAIL PROTECTED]>
Sent: 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 sur
tml 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
>
>
>
rvlet 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 serv
What about:
bookholiday.jsp:
> -Ursprüngliche Nachricht-
> Von: carnell [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 14. November 2000 14:10
> An: [EMAIL PROTECTED]
> Betreff: Re: Integrating servlet output into JSP
> If in my JSP page, say bookholiday.js
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 may be over simplifying
her 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 may be over simplifying yo
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 Servlet
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 the
13 matches
Mail list logo