November 16, 2017
Handling Tomcat relative URLs and mixed case.
Comments
(0)
November 16, 2017
Handling Tomcat relative URLs and mixed case.
Newbie 1 posts
Followers: 0 people
(0)

Recently I had an issue with the ColdFusion internal Tomcat server that bears repeating.  If you are using mixed case directory names and relative URLs to load your JS And CSS.  It is important to note that Tomcat will report the links as 404 unless you are using  Firefox.  Since I develop with Firefox, I didnt see this until we got to testing.  The exhibited behavior is a fully loaded ColdFusion page with all JS and CSS links reported as 404.  

There is no fix for this.  Tomcat does this as a security feature and has no way of being modified.  Lowercase directory names are recommended.

0 Comments
Add Comment