• 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

how to make my servlet run on any web server?

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi anybody
Can anybody tell me how to make my servlet run on any webserver?
thanks in advance
surya
------------------
 
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
Right now things are in a state of flux, with some vendors lagging behind the current API specifications. The best advice is to make sure it runs on the "Reference Implementation" - ie, Tomcat.
Bill
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure if this was actually the question you wanted answered, but most available web servers do not support servlets as supplied. There are servlet extensions available for most of the big name servers (Apache, IIS, iPlanet ...), but they all need to be installed by a system administrator which may not be fasible if you are just renting web space on a public host.
If you have control over the software and configuration of your web server, then you can choose a plug-in servlet extension which works with several web servers to be assured of at least basic compatibility. Resin, JRun and ServletExec seem fairly flexible about partnering with other web servers, others may be more specifically tailored to one server.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic