Hi All,
I am new to GWT, when i am passing GWT response from server as String
value,
it is going to infinite state in IE. But in Mozilla String response
is getting well with
html tag <p>Success</p> .
Here is the code what i am doing is
At client request:
save.addListener(new ButtonListenerAdapter() {
@Override
public void onClick(com.gwtext.client.widgets.Button
button,
EventObject e) {
String strLoadMsg = "Saving...";
strURL = strSericeURL +
"method=saveCameraSession";
formPanelList.getForm().submit(strURL,
null,
Connection.POST,strLoadMsg, true);
formPanelList.getForm().addListener(new
FormListener() {
@Override
public void onActionFailed(Form
form, int httpStatus,
String
responseText) {
}
@Override
public void
onActionComplete(Form form, int httpStatus,
String
responseText) {
Window.alert(responseText);
//here is the response Success
should come
}
@Override
public boolean
doBeforeAction(Form form) {
// TODO Auto-generated
method stub
return true;
}
});
}
});
At server response:
String resp = "Success";
response.getWriter().print(resp);
After completion of request, the response is going to infinite loop in
IE.
If you found any solution please share it.
Thanks in Advance,
Raj.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.