tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Vávra <va...@602.cz>
Subject Re: where to put static files?
Date Mon, 21 Nov 2011 12:44:54 GMT
Hello,
  when I started my project others told me to use apache for static 
content and tomcat for java/jsp.
It works quite good. Tomcat is hidden under reverse proxy (mod_ajp). So 
static content gives apache, dynamic tomcat.

Jan.

> I have a spring project (web app), in my project where should I be putting
> my static files like images/css/javascript?
>
> In my WEB-INF like:
>
> /WEB-INF/Assets {images/css/js}
>
>
> I know when I go in production I will have nginx map to this folder to
> serve the static files, but I just want to know where I can put them for
> development/testing.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message