[Logo] Mentawai In Action
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
What is MentaAjax  XML
Forum Index » MentaAjax
Author Message
robertwgil



Joined: 13/02/2008 14:33:06
Messages: 1
Offline

MentaAjax is a small lib build with JavaScript to facilitate a comunication between Server and Client.
Its turn easy put Beans, Maps, Sets, and String to ajax response.

It structure is simple, look like this:


on 3 line, we create an object that will build de request.
on 5 line, we tell it what URL/action we want to call.
on 7 line, we tell it what JavaScript function will receive de response from request.
on 9 line, we send de build request to server.

The callback function can be any JavaScript function, and the httptransport will be send together it.


But calm, MentaAjax also has a function that handle with response, and it's name is mtw.response.


Now lets go to build a simple example.

I want to send my name to java code, turn it to uppercase and return to my page.

JSP:



Continue....
 
Forum Index » MentaAjax
Go to:   
Powered by JForum 2.1.8 © JForum Team