• 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

Deploy simple JSP Page

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have taken up a hosting package at my ISP that gives me access to the Tomcat server. I would like to know how to deploy a simple JSP Page. I also have access to the Tomcat Administration Tool and would like to use it.
Your assistance would be greatly appreciated.
Quinton
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Quinton, welcome to the Ranch.
I note that you also posted this question in one of the general Java forums. Please do not cross post questions in this way. Pick a single forum that you feel is best for your post. Don't worry about guessing wrong -- if your post is misplaced, one of us friendly neighborhood bartenders will move it to the right place.
In fact, since this post is rather Tomcat-specific, I'm moving it along to our Tomcat forum.
 
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
In a standard Tomcat installation, you just have to put the jsp page in a directory that Tomcat recognizes as being a "web application" - see the JSP examples in webapps\examples or even the webapps\ROOT\index.jsp
This is possible because the default web.xml defines processing for .jsp file types - look at the comments near this:

Bill
 
Let's go to the waterfront with 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