Thanks Tim.
It seems I have to have a custom tag as the fmt tage replacement. I guess I shall
start with studying the fmt tag code.
On the other hand, I hope that Shawn will come another set of fmt implementation since
200 items in one page are not
an abnormal case.
Vernon
7/25/2002 2:55:
Caching as the page is generated would not help, but pre-caching on
server start up could solve your problem. I would think that the huge
overhead you're experiencing is that when it tries to assemble the page in
question, it's creating and destroying objects to retrieve the proper
language s
See the below.
7/25/2002 12:00:36 PM, peter lin <[EMAIL PROTECTED]> wrote:
>
>
>Vernon Wu wrote:
>>
>> Peter,
>>
>> Thanks for your suggestion.
>>
>> Can you clarify the statement: "the data in the resource files are static"?
>>
>> In regarding of the five options you mentioned:
>> >1. use t
Vernon Wu wrote:
>
> Peter,
>
> Thanks for your suggestion.
>
> Can you clarify the statement: "the data in the resource files are static"?
>
> In regarding of the five options you mentioned:
> >1. use the cache tag, which uses fmt tag
> >2. write a custom tag which caches it as someone else
Peter,
Thanks for your suggestion.
Can you clarify the statement: "the data in the resource files are static"?
In regarding of the five options you mentioned:
>1. use the cache tag, which uses fmt tag
>2. write a custom tag which caches it as someone else mentioned
The caching mechanism only w
In order to facilitate discussion of the live web presentation (coming
up in less than 24 hours) you can download the slides before the
presentation; I have uploaded to basicportal.sourceforge.net.
(Why attend the web presentation?: "I have done more pubic and private
hands on lab Struts train
The value you're sending to the page is presumably 5.09 (or -5.95).
Percentage formatting in JSTL, as in Java, treats your value as a
multiple; thus, to format as a percentage, it multiplies by 100. (That
is, 5% is really .05; 500% indicates a multiplier of 5.)
Since your need doesn't really c
You have a couple different options that will scale much better if the
data in the resource files are static and do not change dynamically.
1. use the cache tag, which uses fmt tag
2. write a custom tag which caches it as someone else mentioned
3. write a custom tag that extends the fmt tag
4. p
Hi all
I just tried formatting a percentage change for stocks. I was looking for
something like
+5.09%
-5.95%
Trying
resulted in
509%
-595%
which seems very strange to me - who formats percentages like this? Also,
how to switch on the "+" for positive values?
In the end, I used
%
Hmmm...
Hi Tim,
I've made these changes to my web.xml and changed also the matching uri tag
in my jsp. But that wasn't the problem.
I've got this error messages because I copied my application into
"Tomcat\webapps\ROOT". I changed this to "Tomcat\webapps" and no further
errors occured - concerning "uri
10 matches
Mail list logo