Powered by Olark

Tushar's Blog

'Think Open','Implement Open' -It's rule of Open Source World.

AJAX - Change the Shape of World

>> Saturday, October 23, 2010

Would you like to learn AJAX By your own? 
If yes, Join with Me(Tushar). And follow the steps given below:


    Prototype is JavaScript framework,
    Prototype is freely distributable under the terms of an MIT-style license.
    For details, see the Prototype web site: http://www.prototypejs.org

  • 2. Create a new folder and store prototype.js in this folder after creating your first jsp file.

  • 3. Save as ajax3.jsp.

• Write content on file ajax3.jsp as under.





  • Then Create second jsp file and save as hello1.jsp.
           Write content on file hello1.jsp as under.

    • Then you start apache-tomcat and run our first jsp file whose name is ajax3.jsp.
    • The output as under
      Then in text area you write Your Name (e.g: Tushar).Click to submit button.
                  So the output will be as under.
      ·        In this application, we use inbuilt function which provides AJAX environment.
      ·        In ajax3.jsp file, we use function() or function(xhr). In this application, I have put a simple two textbox and one Button.
      ·        When we write any name in textbox like Tushar, that time hello1.jsp perform its real role to fetch the name which we write in textbox and AJAX  application replace name on the place stranger.
      Benefit of this application: when we click on submit, a page is not reloaded, but only name will be replaced.
      If You want More knowledge about AJAX, See my own presentation shown in below 
      • If you have any query on this application or want help, contact me on my
      Email: tushar3110@gmail.com.


    Read more...
    Spread Firefox Affiliate Button

    Sun Osum Club.

    Sun Osum Club.

    About This Blog

    In This Blog You all get Update from Sun/Osum.
    For More Details on Osum Click Here.
    This blog copyright 2010 by Tushar Chauhan.

    Picasa PhotoStream

      © Blogger template Simple n' Sweet by Ourblogtemplates.com 2009

    Back to TOP