File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes New To JSP and servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "New To JSP and servlets " Watch "New To JSP and servlets " New topic
Author

New To JSP and servlets

hennie louw
Ranch Hand

Joined: Jul 03, 2001
Posts: 56
HI I just want to know if you have an applet that communicates with a servlet , what do you need on your server to make it work, we have an apache web server, will it work on it or not?

Any Body can be paid to write good code, but brilliant code can only come from passion
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12681
    
    5
You can install the Tomcat servlet engine with Apache and it should work. Somewhere around Javaranch is some example code for transmitting a serialized object between applet and servlet.
Bill

Java Resources at www.wbrogden.com
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Apache doesn't process J2EE directly - you configure it to pass JSP and servlet requests to Tomcat (or whatever J2EE server you like). There's a Tomcat-Apache HOWTO at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html. The simplest of the several ways to do is is via mod_jk and the ajp13 connector - for me, anyway.
The magic word to look for to get a client-side applet to talk to a server is "URLConnection".


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New To JSP and servlets
 
Similar Threads
MS SQL Server in Java/JEE environment
IBM HTTP Admin Service not getting started
uploading files using a java application
How should i install j2sdkee1.2.1?
How to debug in Eclipse while testing Webservice request through SoapUI