D'oh! I didn't see this last month. On 4 nov, 22:03, walden <[EMAIL PROTECTED]> wrote: > On Nov 4, 12:31 pm, "Jason Vincent" <[EMAIL PROTECTED]> wrote: > > > ((ServiceDefTarget) ourInstance) > > .setServiceEntryPoint(GWT.getModuleBaseURL() + > > "com.vincent.gwtapps.myApp.MyGwtApp/AuthenticationService?sid=" + sid); > > So it's a GET parameter on a POST request? Hmmm. Clever, though.
Walden, you need a refresh on URIs and HTTP: the "query" part of an URI is totally independent on the thing you do with this URI. If it is an HTTP URL, you're free to use any HTTP method on it. An URI identifies a resource; the "query" part of it is not "GET parameter". People call it like that because that's how HTML forms are sent when method=GET and therefore that's how most server-side web frameworks (incorrectly) call it too ($_GET in PHP, for instance). Many web framework do not make any reference to the GET HTTP method when talking about the "query" part of the requested URL: ASP.NET's HttpRequest.QueryString, Java Servlet's HttpServletRequest.getQueryString(). You'll note too that the "query" part of a URI (even if it is an HTTP URL) is not constrained to look like key1=value1&key2=value2. Most (if not all) web frameworks automatically decompose such format (which is the one spec'd in HTML for sending forms with method=GET) into a hashtable-like object; but that's just to help with (on of) the most common case (HTML forms). Note too that major web frameworks can give you "parameters", whereever they come from: Java Servlet's ServletRequest.getParameterXXX methods when the request is an HTTP request, ASP.NET's HttpRequest.Params, PHP's $_REQUEST, etc. URI-wise and HTTP-wise, http://example.net/?key=value isn't any different from http://example.net/key?value, http://example.net/key/value, http://example.net/key=value, http://example.net/key,value, etc. They all are URLs identifying resources, and you can issue whetever HTTP method you like on them. The rest is implementation detail on the server side. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---