We are not using Spring Roo. The problem is as follows 1. User provides credentails to login to a portal. 2. An existing portal verifies the credentials. Reads LDAP and grabs more information about the user. 3. This info is added to the Http header and the http request is to be forwarded to the new GWT app. 4. The GWT app needs to read a the header and different users will land on different pages.
I was hoping that there would be a way to read the HTTP header and decide which page to serve the user. It seems to me that I will have to intercept the request in an servlet and let the servlet decide where the user need to in the app. Thanks AP On Dec 11, 12:03 pm, PeteUK <[email protected]> wrote: > On Saturday, December 11, 2010 5:47:09 PM UTC, skrat wrote:There is > > already support for HTTP headers in XHR in GWT, it's the method I > posted. And it works with all major browsers. The problem I guess is > that you probably have issues with using RequestBuilder class from your > Spring Roo app. > > I thought the OP was trying to get the HTTP response headers of the > request that served the hosting page of his/her GWT app. > > But reading their message again, they mention different > landing "pages". If they want to serve a different page then that's a > pure server-side/Spring issue. If they want to have different pages in > their GWT app based on the HTTP headers used to serve up the hosting > page, then I'm not sure they can do it easily. > > Thanks, > > Pete > > P.S. They never mentioned Roo. -- 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.
