If the applications are of different servers - which maybe the case, the url 'localhost:80' is from a different server than 'localhost:88' - the browser will reject this conection.
Read more at http://code.google.com/intl/es/webtoolkit/articles/security_for_gwt_applications.html Also look at http://code.google.com/intl/es/webtoolkit/articles/using_gwt_for_json_mashups.html Oskar On 5 mar, 10:26, anu <[email protected]> wrote: > Hi, > > I want to know whether it is possible to invoke a gwt servlet of one > application from another application. I have a GWT web app which > requires users to login. Some times login fails if there is heavy > load. Hence i have to keep monitoring the web app and see whether new > users can login to the application. > > To accomplish this, i thought of two solutions which does not seem to > work. > > 1) create http connection and post the login credentials. But as the > pages are generated by GWT, i do not know the ids of the fields to > send the data. > > 2) Create GWT request to call remote servlet. i.e. providing remote > servlet url as service entry point and invoke the login method. But it > didnt work. I hope this is not allowed due to security reasons. > > I would like to know whether there is any other alternative to achieve > this functionality. > > Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
