aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Ajax Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax Application" Watch "Ajax Application" New topic
Author

Ajax Application

Suganya Rajarethinam
Greenhorn

Joined: Sep 10, 2008
Posts: 11
Hi,
I am new to the Ajax program .Now i want to develop refresh a page using Ajax with java(servlet).please help me..

Thanks,
Suganya.R.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
You may want to star by reading some introductory material on AJAX. The http://faq.javaranch.com/java/JavascriptLinks page links to several articles.

Once you understand the basics you may want to migrate from using the XMLHttpReuqest object directly to using one of the available libraries, e.g. Prototype. Those make the communication easier to deal with.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61063
    
  66

Even though I wrote a book on it (with Dave Crane), I think that Prototype is a bit of a dinosaur these days. I'd recommend jQuery (which I also wrote a book on) as a more modern approach to Ajax and JavaScript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61063
    
  66

Originally posted by Suganya Rajarethinam:
Now i want to develop refresh a page using Ajax with java(servlet).
I'm not at all sure what you mean by this. One of the whole points of Ajax is that you don't need to refresh the whole page -- you can go back to the server to fetch data without the need for full-page refresh.

And using a servlet as the server component is no problem -- Ajax doesn't care how the server side is implemented.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax Application