tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: JSP in Static Resources
Date Mon, 15 Jul 2013 17:07:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alireza,

On 7/15/13 2:10 AM, Alireza Fattahi wrote:
> I am using YAML framework for layout management, it has lot's of
> css files to be changed, and on the other hand, if I want to set
> the contentType manually I should do it every time I upgrade the
> YAML framework.

Why not simply change your "header" document to include the conditional
LTR vs. RTL logic, and then include the proper set of CSS resources?
That would seem to be the simplest possible solution: one change in one
place and everything works properly.

You do have a "header" document, right?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR5CxFAAoJEBzwKT+lPKRYJywP/1cpJ0upi/uQYU4K8qMkiPtD
O6S9lAyWLOJUp6W1d8KKLrR6ykxYB1DRESmSZsktWsoTrud0Z69cpRipnBG+wMeS
d5LJmTbA5udErNkNftdiS7iVyY0TeSN+K+fDIPDUD5gt3gEB2iBKAhSq/SdkhKqS
vdZ6/wIinooxPD+Zdp2E76o2xF8Trq2tHh+Yi28jHtZfHP+zLdOYVkV5tTSaBvr/
EkU4s0eoFfNY2ZUi6qXREndt5iNgeruZ2FArzFHAjrou/Fkt3o7JnuPhsEtNnJfW
9pEATxUbdq1JahwKFhdUWGwS2i7CyDjr9jkP/hZRgYqhnSxcMcUDru9EP7ZB+x/u
f6ucMDPyZa+MfW7SHJMFzxf4lFq25pnlwm+fsvF9wwLrGV39/bOixVRiCMxoVdSe
oLmWQ5KGBdTefZyTmrEJ+jUky8usVyst3rX0IJzIwtAwSoRkyWFOvRdqoDBqlbHZ
V9n3HqPsJkNaPhvEldRBeS8K9Tz0ZfJV+VpI9vDlkvWk9Ac0DrUMdWeg6Csx1Dww
qF66t6MH8Y3VQ1TxTL8bLH9huNY8S+3oirWXKGNZ0m+FYLK880S4SYfT0MduCgtF
zH0M181mBnN8KGIbMX8vQa3eJkYf61uIIfJC54ltT9P32MBcRiHBV1RZj5E4pjU+
Euhu/WhPXYbsIeHnAByY
=IkR+
-----END PGP SIGNATURE-----

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


Mime
View raw message