File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Deploy simple JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploy simple JSP Page" Watch "Deploy simple JSP Page" New topic

Deploy simple JSP Page

Quinton Ramsay

Joined: Feb 19, 2004
Posts: 2
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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

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.

[Asking smart questions] [About Bear] [Books by Bear]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
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:

I agree. Here's the link:
subject: Deploy simple JSP Page
It's not a secret anymore!