jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat file loading
Similar Threads
Tomcat file loading
Not able to run servlet-HTTP status404
How to configure IIS with Tomcat
apache tomcat is arrogant...........huh
Read Text File Using Relative Path.