Musachy,
Yes, we use struts 1.x, and I really dont think we can download any of these
external libraries.
So said so, I have to write javascript etc to achive these AJAX timed
events..
Any one has done it to achieve it ?
I believe javascript,XML etc are needed.. any
--- Maya menon [EMAIL PROTECTED] wrote:
I really dont think we can download any of these
external libraries.
I would highly recommend using a library.
If nothing else you'll want Prototype (or a variant,
like prototype-lite etc.) for writing the Javascript
if for no other reason than to
Ok, got the difference.
Now being a new bie to AJAX, what are the best techiques that should be used
to design a well designed web app ?
Again, my page has to show the new data thats being added to database.
Frank told about creating a timed AJAX event. Where can I get more
Well, if you can live with not literally pushing to the client, this is
the sort of application AJAX was made for. Have a timed event, every few
seconds maybe, whatever your tolerable definition of real time is, that
makes and AJAX request to check for new data and display it when found.
Pretty
The div tag when used on the ajax theme, has a timer that will make it
refresh its content from the url specified in the href attribute, examples
available in showcase and here:
http://struts.apache.org/2.x/docs/ajax-tags.html
musachy
On 2/28/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Hi!
Well, I think that the your technical design requirement can be developed
using Ajax technologies. In J2EE we have e.g. DWR, http://getahead.ltd.uk/dwr/,
to use Ajax inside web applications, but the problem could be the comunication
server-client because the request to update data in
You can refresh the page, but that would probably be annoying to the user,
not to mention that data entered on fields will most likely be lost. Using a
div you can update just the part of the page that is important. Using the
div tag in struts:
s:url id=ajaxTest value=/AjaxTest.action /
s:div
On 2/28/07, Maya menon [EMAIL PROTECTED] wrote:
Also, my colleague asked me this question when I talked to him about a timed AJAX
event. Why cant we simply refresh the jsp page ? Why should we use AJAX ? so, whats
the real advantage of using an AJAX timed event to a normal JSP/HTML refresh ?
Thanks Musachy for your response.
We use Struts 1.x right now.. Guess we have to update..
Please send me if yu have any examples/links..
Musachy Barroso [EMAIL PROTECTED] wrote:
You can refresh the page, but that would probably be annoying to the user,
not to mention that data entered on
Oops...I can't help it, I always assume we are talking about S2. If you are
using S1, pick an ajax framework, most of them have a Div tag like the one
on S2. See Frank's email for details on one of them.
musachy
On 2/28/07, Maya menon [EMAIL PROTECTED] wrote:
Thanks Musachy for your response.
The difference between using AJAX and just refreshing a page is a well
designed AJAX application sends over just the information that is
needed. For a JSP/HTML page refresh you're sending more data over the
line. The key here is a well designed AJAX application.
Maya menon wrote:
Thank you
11 matches
Mail list logo