Having trouble sending stylesheets to the browser.
Using Windows 7, Eclipse 4.5.2 (Dynamic Web project), and Tomcat 7.0.69 (local instance).
[Screenshot of Eclipse workspace][1]
The website is supported by servlets. Various methods have been attempted such as: -- Using XHTML
out.println("<?xml-stylesheet href="/style/mystyle.css" type="text/css"?>");
-- Changing from XHTML to HTML
... ...None of the above methods seem to work in transferring the .css files to the browser.
To get servlets operational, a logging issue had to be addressed and Eclipse needed control over the TomEE-Plume configuration. Fixing just one of these would not resolve the problem. My understanding of Eclipse & TomEE may not be sufficient.
Details on fixing the logging issue can be found on this wiki page: link. Despite being written for Tomcat 5.5, it applies to Tomcat 7.0.69.
In the "Advanced installation" section of this page, step 9 suggests that configuring for Eclipse to take control is optional. However, this step was necessary for TomEE-Plume to function with servlets.
... ...Hoping this information proves helpful to others.