- Wednesday, January 13, 2010, 14:46
- Featured, Struts 2, Tutorial
- 12,623 views
Welcome to the last part of 7 article series of Struts 2 Framework tutorials. In
previous article we saw how to implement File Upload functionality in Struts 2. In this article we will see how we can implement Ajax support in a webapplication using Struts2 framework.
AJAX support in Struts 2
Struts 2 provides built-in support to AJAX using Dojo Toolkit library. If you are new ...
Full story
- Sunday, April 12, 2009, 7:41
- AJAX, JQuery
- 101,818 views
jQuery, the JavaScript library provides some powerful set of jQuery AJAX API's to handle AJAX requests. The normal way of making AJAX calls using JavaScript is a bit odd as you have to first create an XMLHttpRequest object that depends on the browser and then make an AJAX call. Also sending a form data using AJAX ...
Full story
- Sunday, February 8, 2009, 20:15
- AJAX, Tutorial
- 7,516 views
AJAX has really changed the way we build web applications.When I surf internet today, I find almost all the websites Ajaxified in some way. Writing an AJAX application is as simple as writing simple JavaScript methods and some server side code.
I have been writing AJAX codes since a long time now and believe me tge most ...
Full story
- Thursday, December 18, 2008, 18:30
- AJAX
- 2,650 views
Nowadays, Web 2.0 has became a buzz word on internet. Lot of websites that you browser have that "rich" user interface with jazzy fonts and logos and ajax/javascript effects. AJAX has really changed the way we surf on internet. You see any cool web application like GMail or Google Reader, they look much like a ...
Full story
- Saturday, December 13, 2008, 11:17
- AJAX
- 5,512 views
Few days back I was working on a requirement where in a webpage one table was getting populated through AJAX. This table was getting refreshed every 5 mins as it was showing some real time data being processed in back end.
To my surprise, the data in the table were not being refreshed and the output that I was getting was not the one that I ...
Full story
- Friday, December 5, 2008, 18:13
- AJAX, How-To, JQuery, JavaScript
- 45,915 views
Usually AJAX requests are send through GET method. This is because there are few parameters that one send while sending a request through AJAX and also it is relatively easy to create and send a GET method request.
Following code is used generally to create a GET request through AJAX.
function getXMLHttpRequestObject()
{
var xmlhttp;
/*@cc_on
@if (@_jscript_version >= 5)
try ...
Full story
- Monday, December 1, 2008, 12:11
- Featured, How-To, Java, JavaScript, Tutorial
- 5,057 views
Remote procedure call (RPC) in javascript is a great concept of creating rich web applications. First we will see some background about RPC using JavaScript Object Notation (JSON). See following quote from Wikipedia entry of JSON-RPC.
JSON-RPC is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to ...
Full story
- Tuesday, November 18, 2008, 16:23
- AJAX, How-To, JavaScript, Tutorial
- 8,987 views
File uploading using AJAX is not possible. AJAX doesn't actually post forms to the server, it sends selected data to the server in the form of a POST or GET request. As javascript is not capable of grabbing the file from the users machine and sending it to the server, it's just not possible with AJAX. You have to resort to regular old form submit.
If ...
Full story