Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2006, 01:22 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default redirecting default webapp

Hi, new to the tomcat environment.
I have created a small webapp to show my photos to my friends.
Let's say it's this
http://mypage.com:8080/photos/photos.htm

However, if the user just entered this:
http://mypage.com:8080/
He'll get directed to the Administration page. Is there any way of redirecting it to the first link? If not, is there anyway of preventing this?
TIA



 
Old April 20th, 2006, 03:39 AM
Registered User
 
Join Date: Apr 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is simple

Put the directory photos/photos.htm in Tomcat 5.0\webapps\ROOT
After that, you can acces your photos how you want.

***********************************************
I want to ask you a question too. Your photos is visible on net, from another computer? If yes, please tell me what configuration you made to your Tomcat to do that.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Log4j load balanced tomcat pointing same webapp wesley Apache Tomcat 0 April 24th, 2008 08:40 PM
Accessing XML files from a WebApp MAS Apache Tomcat 0 October 26th, 2005 01:08 PM
Accessing XML files from a WebApp MAS BOOK: Professional Apache Tomcat 0 October 26th, 2005 01:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.