Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat file loading

 
Pirams
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this to the apache/tomcat forum
http://www.javaranch.com/ubb/Forum56/HTML/000096.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic