Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 15th, 2005, 08:21 PM
Authorized User
Join Date: Jul 2003
Location: , , .
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default puzzled with tomcat5.5.9

I use JDK1.5.0_04 and Tomcat5.5.9 under Windows 2003 Server,I have a directory like follows:
Tomcat 5.5\webapps\example\ex1.jsp
Tomcat 5.5\webapps\example\ex2.jsp
Tomcat 5.5\webapps\example\WEB-INF
Tomcat 5.5\webapps\example\WEB-INF\web.xml

I found a puzzle thing,I write follow address in IE6.0,

I find IE show my directory content!!!

Why? Before I use them under Windows 2000 server,it don't show directory content. I am very puzzled with it. How to do in order to not show directory content in Tomcat?

Any idea will be appreciated!

Reply With Quote
  #2 (permalink)  
Old September 21st, 2005, 02:00 AM
Authorized User
Join Date: Apr 2005
Location: , , India.
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Edward,

Did you specify the welcome file list in web.xml?

Something similar to this


This will make sure that call to http://localhost:8080/example will be routed to ex1.jsp

Generally the servers search for index file in the public area of the application. If they find one, it will be displayed else a listing of all contents will be displayed.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 ThemeSelector - Puzzled Porjung BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 June 11th, 2007 07:43 AM
How to Configuring tomcat5.0 with IIS 5.1 skiiqbal Apache Tomcat 1 June 25th, 2006 07:51 AM
Why Tomcat5.5.9 can't work? Edward King Apache Tomcat 1 August 12th, 2005 06:03 AM
Naming Exception in Tomcat5.x enjay Apache Tomcat 3 August 12th, 2005 05:55 AM
Tomcat3.3.2 to Tomcat5.0.24 amith_pj Apache Tomcat 2 July 10th, 2005 04:23 AM

All times are GMT -4. The time now is 07:27 PM.

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