You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sa...@sungard.com on 2010/10/19 11:53:20 UTC
tricky behaviour of jetspeed
Hi,
i build a web application with jetspeed as a server. On my portal i am
showing a table called "Student"
with his class, grade and marks. When i run my web application
everything works well & my portal shows me the correct values for
marks(e.g 50.56, 90.45, 80.60 etc)
My problem is while running my web application sometimes marks column
shows rounded off values e.g 50.56 becomes 57.0 , 80.60 becomes 81.0 .
If i restart my jetspeed then this problem gets resolved.
Would u please tell me what would be the cause of this problem ? is
jetspeed maintains separate cache which is causing this problem ?
( I checked in code for displaying marks column on screen and its
completely fine. )
Thanks & regards
Sachin
Re: tricky behaviour of jetspeed
Posted by Woonsan Ko <wo...@yahoo.com>.
Hi Sachin,
Did you configure the expiration cache for your portlet?
You can find it in portlet.xml. For example,
<portlet>
...
<expiration-cache>300</expiration-cache>
...
</portlet>
If the expiration property is set to 0, the portlet content will not be cached.
Regards,
Woonsan
--- On Tue, 10/19/10, Sachin.Daitkar@sungard.com <Sa...@sungard.com> wrote:
> From: Sachin.Daitkar@sungard.com <Sa...@sungard.com>
> Subject: tricky behaviour of jetspeed
> To: jetspeed-user@portals.apache.org
> Date: Tuesday, October 19, 2010, 11:53 AM
> Hi,
> i build a web application with jetspeed as a server. On my
> portal i am
> showing a table called "Student"
> with his class, grade and marks. When i run my web
> application
> everything works well & my portal shows me the correct
> values for
> marks(e.g 50.56, 90.45, 80.60 etc)
>
> My problem is while running my web application sometimes
> marks column
> shows rounded off values e.g 50.56 becomes 57.0 , 80.60
> becomes 81.0 .
> If i restart my jetspeed then this problem gets resolved.
>
> Would u please tell me what would be the cause of this
> problem ? is
> jetspeed maintains separate cache which is causing this
> problem ?
>
> ( I checked in code for displaying marks column on
> screen and its
> completely fine. )
>
> Thanks & regards
> Sachin
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org