tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers
Date Sat, 08 Sep 2012 10:39:29 GMT
2012/9/8 Kiran Badi <kiran@poonam.org>:
> Hi Chris and All,
>
> I hope its alright if I reopen my old thread since I want to expand my
> earlier requirement.
>
> I have a requirement  where for each category I need to have separate
> folders where the Images should go in.
>
> Currently for all categories my images goes into the C://UploadedImages
> folder and it working fine.
>
> <Context aliases="/UploadedImages=c:/UploadedImages"></Context>
>
> Now I was wondering , if its possible that I can do something like,
>
> <Context
> aliases="/UploadedImages=c:/Uploaded/Images/Product1Images,c:/UploadedImages/Product2Images,c:/UploadedImages/Product3Images.....c:/UploadedImages/ProductNImages"></Context>

Regarding the aliases feature:

single path -> multiple file paths: No
multiple different non-intersecting paths -> multiple file paths: Yes

As far as I remember, an example of using multiple aliases is present
in documentation.

Best regards,
Konstantin Kolinko

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


Mime
View raw message