You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sudhir Kumar <su...@cgsmith.soft.net> on 2002/11/12 10:45:58 UTC
JSP to JSP
i need to communicate between two jsp's which are running on 2 remote
machines. both the jsp's are running on tomcat. i need to pass some data
between these jsp's. both the jsp's are connected to two seperate databases.
is it possible to get the data of a remote database by invoking the jsp
running at that location ???. Any help in this regard will be helpfull..
thanks in advance
sudhir
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JSP to JSP
Posted by Wilhelm Colln <wi...@sambah.net>.
Yes I did it once, but some servers gives you limited permissions,
so that the database can only be accessed locally.
Wilhelm Colln
Peru
Sudhir Kumar wrote:
>i need to communicate between two jsp's which are running on 2 remote
>machines. both the jsp's are running on tomcat. i need to pass some data
>between these jsp's. both the jsp's are connected to two seperate databases.
>is it possible to get the data of a remote database by invoking the jsp
>running at that location ???. Any help in this regard will be helpfull..
>
>thanks in advance
>sudhir
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JSP to JSP
Posted by Kris Schneider <kr...@dotech.com>.
Erg - change that to <c:import>...
Quoting Kris Schneider <kr...@dotech.com>:
> If all you want to do is include the output of a JSP, you might want to check
>
> into JSTL's <c:include> action. Unlike the standard JSP <jsp:include> action,
>
> it can access external resources. You can provide <c:param> nested actions to
>
> add request paramaters. If you need to process the output before displaying
> it,
> <c:include> allows you to export either a String or Reader. JSTL requires a
> JSP
> 1.2 container, so TC 4.x qualifies but TC 3.x does not.
>
> Quoting Sudhir Kumar <su...@cgsmith.soft.net>:
>
> > i need to communicate between two jsp's which are running on 2 remote
> > machines. both the jsp's are running on tomcat. i need to pass some data
> > between these jsp's. both the jsp's are connected to two seperate
> > databases.
> > is it possible to get the data of a remote database by invoking the jsp
> > running at that location ???. Any help in this regard will be helpfull..
> >
> > thanks in advance
> > sudhir
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> --
> Kris Schneider <ma...@dotech.com>
> D.O.Tech <http://www.dotech.com/>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Kris Schneider <ma...@dotech.com>
D.O.Tech <http://www.dotech.com/>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JSP to JSP
Posted by Kris Schneider <kr...@dotech.com>.
If all you want to do is include the output of a JSP, you might want to check
into JSTL's <c:include> action. Unlike the standard JSP <jsp:include> action,
it can access external resources. You can provide <c:param> nested actions to
add request paramaters. If you need to process the output before displaying it,
<c:include> allows you to export either a String or Reader. JSTL requires a JSP
1.2 container, so TC 4.x qualifies but TC 3.x does not.
Quoting Sudhir Kumar <su...@cgsmith.soft.net>:
> i need to communicate between two jsp's which are running on 2 remote
> machines. both the jsp's are running on tomcat. i need to pass some data
> between these jsp's. both the jsp's are connected to two seperate
> databases.
> is it possible to get the data of a remote database by invoking the jsp
> running at that location ???. Any help in this regard will be helpfull..
>
> thanks in advance
> sudhir
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Kris Schneider <ma...@dotech.com>
D.O.Tech <http://www.dotech.com/>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
AW: JSP to JSP
Posted by "Power-Netz (Schwarz)" <sc...@power-netz.de>.
> is it possible to get the data of a remote database by invoking the jsp
> running at that location ???. Any help in this regard will be helpfull..
Why don't you connect to the other database directly ???
If you won't do that, send your data via a normal POST form to the other JSP
M.Schwarz
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>