Article View: es.comp.lenguajes.java
Article #17639Re: Applets/Servlets
From: Enric
Date: Tue, 31 Oct 2000 22:39
Date: Tue, 31 Oct 2000 22:39
39 lines
2484 bytes
2484 bytes
Buenas, Segun dicen, dos servlets se pueden comunicar usando "request dispatching". Para hacer esto, mirate el interface javax.servlet.RequestDispatcher y como obtener un objeto RequestDispatcher. Yo no lo he usado aun, pero supongo que por ahi van los tiros. Espero que te ayude. Enric. Antonio Ruiz Mart�nez <arm@dif.um.es> escribi� en el mensaje de noticias 39F6A16D.1EE1577C@dif.um.es... > Hola! > Os explico lo que quiero hacer para ver si me pod�is echar una mano. > > Tengo un applet que se comunica con un servlet para recibir una p�gina. > El servlet almancena informaci�n sobre el cliente y mantiene la conexi�n > > con el applet, para posteriormente enviarle informaci�n. El applet > cuando recibe la p�gina se comunica con un segundo servlet pas�ndole > determinada informaci�n. Este segundo servlet quiero que env�e la > informaci�n que ha recibido al primer servlet que a�n est� activo y a su > > vez este la env�e al applet. > > Resumiendo, > �c�mo puedo hacer que se comuniquen dos servlets entre s�? > > Gracias de antemano por vuestra ayuda. > Saludos > > -- > "Time is a great teacher, but unfortunately it kills all its pupils". > - Hector Louis Berlioz > -------------------------------------------------------------- > Antonio Ruiz Mart�nez > E-mail: arm@dif.um.es y arm2@alu.um.es > >
Technical Details
Message-ID:
<kTHL5.74313$sE.275532@news6-win.server.ntlworld.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mailReferences:
<39F6A16D.1EE1577C@dif.um.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: 1116f3,2fb60fdb50265eb3 X-Google-Attributes: gid1116f3,public X-Google-ArrivalTime: 2000-10-31 14:40:20 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "Enric" <enric@uk.com> Newsgroups: es.comp.lenguajes.java References: <39F6A16D.1EE1577C@dif.um.es> Subject: Re: Applets/Servlets Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: <kTHL5.74313$sE.275532@news6-win.server.ntlworld.com> Date: Tue, 31 Oct 2000 22:39:14 -0000 NNTP-Posting-Host: 62.252.169.130 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 973032016 62.252.169.130 (Tue, 31 Oct 2000 22:40:16 GMT) NNTP-Posting-Date: Tue, 31 Oct 2000 22:40:16 GMT Organization: ntlworld News Service