Display Updated/changed value(from cache) in JSP



Dear all,

I did post this on the sun forum with out too much help. I am assuming
I shall be lucky enough to get some here.
Since I am clueless on how I wish to do it, I do not really have
anything that I have done.
This is part of my problem

What I am doing is : Displaying the value (price of an item) from the
database on to a JSP.
The price of the item can be changed. I am putting that in a cache
(because only the final updated price goes to the db) and then; what I
need to do it : to display this updated price (from the cache) in all
browsers that are currently "seeing" this JSP, without having to
refresh the jsp, i.e.

I have dabbled with ajax, however I am stuck at : the Jsp can make an
async. call to the servlet, but how do I make the servlet send the
changed value to the jsp.

to put across my point in a more clearer way.
There is a timer running.
You can think Its like an auction site which multiple people would
access. they could change values (prices, amounts they would enter as
a bid). If a user A enters an amount then that should be displayed to
other users logged in too. Users B,C and D should be able to see the
changed amount, which means B,C and D('s browsers) should be
automatically updated. They wouldnt be making any requests to the
server.
What ways could I explore to achieve this behaviour ?

I would appreciate if some one could point me to a direction.

Rgds,
.



Relevant Pages

  • Re: Display Updated/changed value(from cache) in JSP
    ... database on to a JSP. ... The price of the item can be changed. ... With standard HTTP - NO WAY, the server can not push anything to the ... one of the options) for updates from each client. ...
    (comp.lang.java.programmer)
  • Re: how do I get the address of a cell to calculate with it
    ... Subtract the price for the start date from the price on the end date. ... Dim StillLeft As Double ... Dim AmountThisSlice As Double ... StillLeft = Amount ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Rounding of amounts
    ... Please keep all correspondence within the NewsGroup, ... What would you want to do with an amount of 2.899999 ... the selling price in ounces, ... which calculates the rounded selling price in ounces. ...
    (microsoft.public.excel)
  • Re: VIRGIN on the ridiculous
    ... X amount of people who leave. ... Virgin work heavily on a marketing approach, i think there sales teams are ... in which the price doublkes at the end of the promotion, ... you want to be a virgin customer you need to be "ACTIVE" customer chasing ...
    (uk.telecom)
  • Help with a queries
    ... price as money,' obviously the price of a traded item ... volRemaining as int ' amount of the item availabe on stock, ... can be from the same City or Country. ...
    (microsoft.public.sqlserver.programming)