tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: where to put static files?
Date Mon, 21 Nov 2011 09:41:19 GMT
On 21 Nov 2011, at 03:15, S Ahmed <sahmed1020@gmail.com> wrote:

> 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}

You can't serve files directly from WEB-INF.

> 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.

How about somewhere sensible?

 /images
 /scripts
 /styles


p

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


Mime
View raw message