aspose file tools*
The moose likes Tomcat and the fly likes When have this web.xml file directory is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "When have this web.xml file directory is "unavailable"" Watch "When have this web.xml file directory is "unavailable"" New topic
Author

When have this web.xml file directory is "unavailable"

Mike Parker
Greenhorn

Joined: Nov 21, 2004
Posts: 18
Hi, I have been attempting to get the listener class attribute to work for days now, and in the process upgraded to tomcat 5.5. I have made a directory, with a jsp page in it for testing my the listener servlet. When I add a web.xml page, to the directory/WEB-INF , I get an error when I try to access the directory through my browser "the directory is not available." So, something in the web.xml page must be very troublesome to the tomcat process.

Here is the web.xml page: can anyone see where I am going wrong?

-Much thanks, Mike
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5608
    
  15

Originally posted by Mike Parker:

Here is the web.xml page: can anyone see where I am going wrong?

-Much thanks, Mike


Did you forget to add web.xml, because i don't see any


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Most likely cause is a parsing error - that should show up in a log file.
Bill
Mike Parker
Greenhorn

Joined: Nov 21, 2004
Posts: 18
Thanks, guys.

It was a parsing issue that I was able to fix after looking at my log ( thanks a million for suggesting what is obvious--I needed that.)

Apparently, having "encoding = ISO-8859-1" appended to my xml version tag did not sit well with tomcat 5.5.

I am in business now-- looks like even my listening class works !!

Much gracious, again.

Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When have this web.xml file directory is "unavailable"