• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

deploying Servlets in Apache (w/ Tomcat plug-in)

 
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm used to deploying my web apps in Tomcat stand-alone, by deploying the app to the webapps directory. Simple enough.

I am now working on a system that uses an Apache web server, with the Tomcat plug-in to support JSP/Servlets.

I'm finding that it is not as straightforward to deploy my apps anymore. Does anyone have any suggestions, as far as deploying a simple HelloWorld Servlet? Any good links?

Say my Servlet is called HelloWorldServlet.
The page, hello_world.jsp has a form, which submits to this servlet.

The hello_world.jsp file is on the Apache web server at var/www/html.
Where will I put the Servlet?

Thanks for any help!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're going to have to ask your provider for details on the how and where. Hosted solutions vary greatly in the details of how to get servlets/jsp running.
 
Die Fledermaus does not fear such a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic