-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alireza,
On 7/13/13 6:13 AM, Alireza Fattahi wrote:
> I just find a bad work around which you must put <%@page
> contentType="text/css" %>in top of all css files
Why don't you want to do this? This is actually the proper way to do
things. Perhaps
> -Original Message-
> From: Alireza Fattahi [mailto:afatt...@yahoo.com]
> Sent: Monday, July 15, 2013 1:10 AM
> To: Tomcat Users List
> Subject: Re: JSP in Static Resources
>
> Hi,
>
> I am using YAML framework for layout management, it has lot's of css
&
...
* Thanks for your comments
* I already see sites that do this.
* For example please visit these three sites:
* http://en.wikipedia.org/wiki/Apache_Tomcat
* View source
*
* the load.php makes a dynamic css
* Please visit www.ebay.com
* View source
*
~Regards,
~~Alireza Fattahi
From: André Warnier
To: Tomcat Users List
Sent: Monday, 15 July 2013, 14:13
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
> Thanks for help!
>
> Let me summarize:
>
> There are two servlet
Alireza Fattahi wrote:
Thanks for help!
Let me summarize:
There are two servlets as below:
1- Default servlet which process all static resources
2- jsp servlet which process the JSP file
yes.
The mime types ( which are defined in localhost-config/web.xml) are only used
bydefault servlet.
On 15/07/2013 08:03, Alireza Fattahi wrote:
> Thanks for help!
>
> Let me summarize:
>
> There are two servlets as below:
> 1- Default servlet which process all static resources
> 2- jsp servlet which process the JSP file
>
> The mime types ( which are defined in localhost-config/web.xml) are on
~Regards,
~~Alireza Fattahi
From: André Warnier
To: Tomcat Users List
Sent: Monday, 15 July 2013, 12:09
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
> Good point, I did not think about it !
>
What is a good point ?
*** Consi
hing?
~Regards,
~~Alireza Fattahi
From: Tim Watts
To: Tomcat Users List
Sent: Monday, 15 July 2013, 3:23
Subject: Re: JSP in Static Resources
On Sun, 2013-07-14 at 23:28 +0200, André Warnier wrote:
Alireza Fattahi wrote:
Well,
If we want to follow up tha
List
Sent: Monday, 15 July 2013, 1:58
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
> Well,
>
> If we want to follow up that post , then we should belive that:
Tomcat is an inclusive church, and you can believe what you want.
Konstantin is one of the Tomcat developers ho
please give me some references about caching?
~Regards,
~~Alireza Fattahi
From: Tim Watts
To: Tomcat Users List
Sent: Monday, 15 July 2013, 3:23
Subject: Re: JSP in Static Resources
On Sun, 2013-07-14 at 23:28 +0200, André Warnier wrote:
> Alireza Fatt
Leon Rosenberg
To: Tomcat Users List ; Alireza Fattahi
Sent: Monday, 15 July 2013, 4:44
Subject: Re: JSP in Static Resources
Hello Alireza,
what exactly was wrong with putting
contentType="text/css;charset=UTF-8"
on top of your css-jsps?
Actually each page should have content-t
On 7/13/2013 10:56 PM, Alireza Fattahi wrote:
> Guys please concentrate on the main issue !!
>
> I ask again:
>
> When you set jsp servlet to process the css files by adding:
>
> jsp
> *.css
>
>
>
> The tomcat does not set the CSS file extension mime type to text/css.
> Although below li
On Sun, 2013-07-14 at 16:27 -0700, Hassan Schroeder wrote:
> On Sun, Jul 14, 2013 at 3:53 PM, Tim Watts wrote:
>
> > If you don't take steps to make them cacheable, they'll be fetched
> > every time on every page adding extra load on your server and the
> > network.
>
> Which would be *the whole
Tomcat Users List
> Sent: Sunday, 14 July 2013, 12:00
> Subject: Re: JSP in Static Resources
>
>
> Alireza Fattahi wrote:
> > Guys please concentrate on the main issue !!
>
> I believe that "the main issue" was already answered thoroughly by
> Konstantin earlier.
On Sun, Jul 14, 2013 at 3:53 PM, Tim Watts wrote:
> If you don't take steps to make them cacheable, they'll be fetched
> every time on every page adding extra load on your server and the
> network.
Which would be *the whole point* of having dynamically generated
style files, eh? :-)
--
Hassan
of this for you. If you
don't take steps to make them cacheable, they'll be fetched every time
on every page adding extra load on your server and the network.
>
>
> >
> > Is that true?!
> > ~Regards,
> > ~~Alireza Fattahi
> >
> >
> > _
plement in the version of the software that you are using, then
the problem to implement it is ultimately yours.
Is that true?!
~Regards,
~~Alireza Fattahi
From: André Warnier
To: Tomcat Users List
Sent: Sunday, 14 July 2013, 12:00
Subject: Re: JSP
, 14 July 2013, 12:00
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
> Guys please concentrate on the main issue !!
I believe that "the main issue" was already answered thoroughly by Konstantin
earlier.
Did you not read it ?
>
> I ask again:
>
> When you s
Alireza Fattahi wrote:
Guys please concentrate on the main issue !!
I believe that "the main issue" was already answered thoroughly by Konstantin
earlier.
Did you not read it ?
I ask again:
When you set jsp servlet to process the css files by adding:
jsp
*.css
The tomcat does n
Guys please concentrate on the main issue !!
I ask again:
When you set jsp servlet to process the css files by adding:
jsp
*.css
The tomcat does not set the CSS file extension mime type to text/css. Although
below line is set in localhost-config/web.xml
css
text
%@page
contentType="text/css" %>in top of all css files
~Regards,
~~Alireza Fattahi
____________
From: André Warnier
To: Tomcat Users List Sent: Saturday, 13
July 2013, 14:21
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
Hi,
I want to add some jsp code in to my site.css
there is nothing wrong in the /principle/ of having a CSS
> file being compiled into a servlet generating a CSS document, but
> somehow it does not seem the most straightforward thing to do.
>
>
>
>>
>>
>> The problem is that, although you set the mime type of css to
lireza Fattahi
________
From: André Warnier
To: Tomcat Users List
Sent: Saturday, 13 July 2013, 14:21
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
Hi,
I want to add some jsp code in to my site.css.
Maybe it is just me, but that does not seem to make
2013/7/13 Alireza Fattahi :
> Hi,
>
>
> I copied below in my web.xml
>
>
>
> *.css
> text/css
>
>
>
> It did not helped ?! Is it a config for tomcat 7. I am using tomcat 6.
> The eclipse says that is invalid.
>
Yes, it is from JSP 2.2 which requires Servl
2013/7/13 Alireza Fattahi :
> Hi,
>
> My situation is this:
> The site which i work should work in RTL and LTR modes ( I am using YAML for
> layout)
>
> The site.css should have this for LTR:
>
> @import url(../yaml/navigation/hlist.css);
> @import url(../yaml/forms/gray-theme.css);
> @import url(
top of all css files
~Regards,
~~Alireza Fattahi
From: André Warnier
To: Tomcat Users List
Sent: Saturday, 13 July 2013, 14:21
Subject: Re: JSP in Static Resources
Alireza Fattahi wrote:
> Hi,
>
> I want to add some jsp code in to my site.css.
Maybe it
Alireza Fattahi wrote:
Hi,
I want to add some jsp code in to my site.css.
Maybe it is just me, but that does not seem to make any sense.
Usually, it would be the other way around.
Can you explain why you want to do this ?
The idea of JSP is to have Java code which in the end produces a HTML p
28 matches
Mail list logo