my dog learned polymorphism*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat file loading" Watch "Tomcat file loading" New topic
Author

Tomcat file loading

Pirams
Greenhorn

Joined: Dec 21, 2001
Posts: 4
Hi,
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.
url('common/folderBuild.htc')
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
Thanks
Piram
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I'll move this to the apache/tomcat forum
http://www.javaranch.com/ubb/Forum56/HTML/000096.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat file loading