>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Ajax using XMLHttpRequest and Struts - req xmlhttprequest url code function web xml var

 
Registered tutorials: 501
Registered Users: 32529



Rating: 3.19 out of 26 votes cast


  
Category: Ajax and Java

Tags Map

access action ajax alertproblem app approach article based basic body brbr browser browsers call called catch client code complete component concept contents copy csv data description development document domain event examples fact false feed files form frank function good handler head headers html http idea including line method microsoft null number numerous object option page processstatechange project req reqonreadystatechange reqopen reqreadystate reqstatus request response result retrieve retrieves retrieveurlurl returned returns rss sample script scripting select server simple span state status string struts table title true url user values var version ways web webapp windowactivexobject windows windowxmlhttprequest work world xml xmlhttprequest years zammetti

Keyword Cloud Navigation Map

Ajax using XMLHttpRequest and Struts

Digg this   Post to del.icio.us

Abstract: Some very basic examples of how to call and respond to the XMLHttpRequest object to access server side scripts from the client

About five years ago I worked on a web app project where one of the primary requirements was that it should look, work and feel like a Windows-based fat client.  Now, ignoring the question of why it was not in fact done as a Windows-based fat client in the first place, that can be a rather tough requirement in the world of web development, certainly it was five years ago when not very many examples of such a thing existed.

 

As a result of a number of proof-of-concepts, I stumbled upon some techniques for doing things that were at the time rather atypical approaches to web development.  The end result was an application that, to this day, many people cannot even tell is web-based, aside from the fact that you access it with a browser!

 

Little did I know that only a few years later the basic concepts behind what I had done would re-emerge in the world as something called Ajax.  Ajax is a term coined by the folks at Adaptive Path and is shorthand for Asynchronous Javascript + XML. 

 

This just goes to show, patenting every idea you ever have is indeed a good way to riches!  If only I would have thought what I did was anything special!  But I digress…


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 6014
Unique Hits: 4675


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 15.2 20.2 65.6 83.5 273.2 352.7
Current 1 4 77 103 334 439
Previous 19 30 0 0 348 426
Nov 19 20 25 120 159 305 403
Nov 18 18 20 0 0 275 368
Nov 17 19 24 124 161 298 398
Nov 16 8 13 0 0 435 531
Nov 15 14 21 76 90 0 0
Nov 14 13 17 81 107 278 364
Nov 13 21 26 87 105 274 350
Nov 12 19 22 91 110 185 248
Highest 29 38 124 161 435 531


Script Execution Time: 0.81717 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2