For your situation, I think using the redirect makes the most sense. This tells the browser to request another resource (i.e., the gwt html).
The other option is to use a request dispatcher. This is basically a servlet calling another servlet, but it sounds like your gwt is using plain-old html, and not a jsp, so I think the dispatcher would be over kill. So, in summary, I think you're doing it right! :) On Mar 8, 1:47 pm, jayanth <[email protected]> wrote: > I have an AuthenticatorServlet that among other things displays a page > to capture username and password and upon form submission validates > credentials against an LDAP server. From this servlet, I would like to > invoke the GWT initial html page and am looking for best practices to > do this. > > I am currently performing a response.sendRedirect (..) which appears > to do the job but fear this may not be the best way to achieve what I > am looking for. > > Any help is appreciated. Thanks. -- 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.
