• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New To JSP and servlets

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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".
 
No more fooling around. Read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic