>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: 26635



Rating: 2.96 out of 23 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: 4731
Unique Hits: 3677


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 11 15.3 57.9 77.4 216 280
Current 2 4 69 95 264 353
Previous 17 21 63 85 298 398
Aug 27 12 17 66 86 435 531
Aug 26 18 26 54 72 0 0
Aug 25 20 27 0 0 278 364
Aug 24 7 12 55 74 274 350
Aug 23 1 1 72 85 185 248
Aug 22 6 7 64 92 0 0
Aug 21 15 22 83 116 214 275
Aug 20 12 16 53 69 212 281
Highest 29 38 123 152 435 531


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