aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploy simple JSP Page" Watch "Deploy simple JSP Page" New topic
Author

Deploy simple JSP Page

Quinton Ramsay
Greenhorn

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

Joined: Jan 10, 2002
Posts: 61433
    
  67

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] [Bear's FrontMan] [About Bear] [Books by Bear]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deploy simple JSP Page