Hi all,
this is my first post!
I have a (great) problem for variables excange between JAVAclass and
AJAX.
in the Java Class I get my vars successfully but for send my string
back to the JSP page i do:
res.getWriter().print("aiuto!!");
---------------------------------------------
in JSP AJAX page :
function ajaxLogin()
{
new Ajax.Request(''login.do'', { parameters: $
(''myform'').serialize(true), onSuccess:showResponse } );
}
function showResponse(transport)
{
alert(transport.responseText);
}
but in the "transport.responseText" i print out all my HTML page!
It''s doesn''t work!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---