2
votes
1answer
2k views

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: <Host appBase="webapps" name="localhost"> ... <Context docBase="/var/projectA/static" path="/projectA/" /> ...
1
vote
1answer
2k views

Why the difference between Tomcat and Tomcat7 regarding servlet mapping and defaults?

With the following configuration: <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>*.css</url-pattern> </servlet-mapping> ...
0
votes
1answer
288 views

Where is my Tomcat running on my virtual server?

According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then: localhost -> Apache home page (port 80) localhost:8080" -> Tomcat ...