Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 25th, 2005, 05:27 AM
Registered User
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sonishailendra02
Default Applet - Servlet Communication

Hi All,

I have one query regarding applet-servlet communication.
my application run on tomcat 4.0 , In my app.
applet call servlet with help of the URL class.
here code is
String servletUrl = "";
URL urlServlet = new URL(servletUrl);
URLConnection urlconnection = urlServlet.openConnection();


InputStream inputstream = urlconnection.getInputStream();
ObjectInputStream objectinputStream = new ObjectInputStream(inputstream);
Vector vdata = (Vector)objectinputStream.readObject();

okk i think that right and i do in this way, if spell mistake then plz. ignor that b'coz my question is not releated to code.

When i openconnection , that connection call servlet from tomcat.is openconnection object can break the firewall of the my server windows NT 2003?

i ask this question b'coz some on told me that applet call servlet through the above code is not good b'coz it is break the firewall and then call servlet .
so could anyone guide me ?

Shailendra Soni

Similar Threads
Thread Thread Starter Forum Replies Last Post
Servlet Call Applet azimdgreat Servlets 2 July 16th, 2008 05:48 AM
Swing Servlet Communication ? ? ? nigam.anand Servlets 0 April 22nd, 2006 02:27 AM
realtime communication turdy VB.NET 0 February 28th, 2006 10:08 AM
Applet Servlet Communication pandian Servlets 1 January 23rd, 2006 07:11 AM
Java - COM Communication nitz_tech J2EE 0 January 12th, 2005 09:33 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.