File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Seeking explanation : applet-to-servlet communication... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Seeking explanation : applet-to-servlet communication..." Watch "Seeking explanation : applet-to-servlet communication..." New topic

Seeking explanation : applet-to-servlet communication...

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi All.
Can someone please explain some basic JAVA concepts to me.
At the moment I manage to get Apache collaborating with Tomcat. I also managed to write servlets to access Oracle via the app-server, which queries the db-server, and display the resultsets on IE or Netscape.
Now I want do this over the internet rather than just the intranet (localhost:8080/SERVLET/etc).
I want to get my webpage to the point where people can click on an item and send http request to the apache-server, which will start up a servlet on the app-server (where Tomcat lives) to query a database and send the result nicely formatted back to the browser over the www half a world away.
I was told I cannot simply use the html <FORM...> tag. I was told I need to use a "tunnelling" technique.
Fine. What is that ??? Do I need pick and shovel now or what ???
simplicius simplicissimus in JAVA-land

humanum errare est.
achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi Again.
I have got the static html/java pages on he apache web server and the servlets on the tomcat server.
Soo I think the question should be : how do I get the static page to access tomcat servlets if I don;t use the <FORM...> tag ?
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to...
Eenie Meanie Minee Mo...
The Servlets Forum...
achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Further to the discussion aout abstract classes :
does JAVA recognise _<methodName> as abstract methods because of the underscore ???
Example : if I have _getOutputStream() and _flush(), then, does JAVA know that these are abstract methods which the base clients will be extending in order to create an output stream and flush the data ???
achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi again.
And why may I ask do I need an "ordinal value" to invoke a remote method , whatever that may be ???
The plot thickens ...
I agree. Here's the link:
subject: Seeking explanation : applet-to-servlet communication...
It's not a secret anymore!