This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Tomcat file loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat file loading" Watch "Tomcat file loading" New topic

Tomcat file loading


Joined: Dec 21, 2001
Posts: 4
I faced a wierd problem when I was using Tomcat.
Here is the problem description.
I was using a microsoft based dhtml component (with tabs), similar to a JTabbedPane component in Swing. For that I was using a style which a refers a file with the following syntax.
Actually what it denotes is, it is refering to a file in the common folder(relative path). Tomcat is unable to locate this file. So the browser is not able to display the tabbed folder correctly. I was running IIS also in machine. So accesed that particular file using IIS by creating a map directory in IIS.
Actually I used other gif files(specified as relative path) also in my app, Tomcat was able to locate those files correctly.
Please let me know if any one faced this problem in Tomcat
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I'll move this to the apache/tomcat forum
I agree. Here's the link:
subject: Tomcat file loading
It's not a secret anymore!