You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Bryant <mb...@c-cor.net> on 2000/09/29 21:42:20 UTC
One servlet calling another?
First of all, sorry if the answer to this is in a document somewhere-- I
must've missed it.
Here is what I would like to do:
An html form calls a controller servlet which, based on the data in the
form, calls another servlet to crunch the data and do something with it.
The output fron the second servlet is passed back to the browser client,
Is this possible with Tomcat? If so, are there known issues with using this?
Thanks,
Mike
Re: One servlet calling another?
Posted by Mike Williams <mi...@yahoo.com>.
Mike,
You might want to check out the Struts framework. It provides the
functionality your looking for plus some! I don't think they have a final
release yet, but it's pretty stable.
You can check it out here http://jakarta.apache.org/struts/index.html.
Mike Williams
----- Original Message -----
From: "Mike Bryant" <mb...@c-cor.net>
To: <to...@jakarta.apache.org>
Sent: Friday, September 29, 2000 3:42 PM
Subject: One servlet calling another?
>
> First of all, sorry if the answer to this is in a document somewhere-- I
> must've missed it.
>
> Here is what I would like to do:
> An html form calls a controller servlet which, based on the data in the
> form, calls another servlet to crunch the data and do something with it.
> The output fron the second servlet is passed back to the browser client,
>
> Is this possible with Tomcat? If so, are there known issues with using
this?
>
> Thanks,
>
> Mike
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Re: One servlet calling another?
Posted by Steve Weiland <sw...@viatraining.com>.
use a request dispatcher.
Mike Bryant wrote:
> First of all, sorry if the answer to this is in a document somewhere-- I
> must've missed it.
>
> Here is what I would like to do:
> An html form calls a controller servlet which, based on the data in the
> form, calls another servlet to crunch the data and do something with it.
> The output fron the second servlet is passed back to the browser client,
>
> Is this possible with Tomcat? If so, are there known issues with using this?
>
> Thanks,
>
> Mike