I used the web.xml to map all the URL's to the same JSP page, had that one
page be the standard GWT loading page, and then used the URL (obtained from
Window.Location) to put the page (panel) I wanted onto the root panel.

Nick

On Wed, Dec 1, 2010 at 8:48 AM, Mike <weinbe...@gmail.com> wrote:

> What I do in my apps is to support both hashed and "pretty" urls.
>
> So my apps go the same state when launched as http://domain.com/page/1
> and as http://domain.com#page/1
>
> When user navigates the app I use the hash urls and History object (as
> to not reload the pages). However sometimes it's nice/needed to have a
> pretty URL (e.g. for sharing, showing in public, etc..) so I would
> provide the pretty URL of the same page.
>
> Michael
>
>
> On Dec 1, 5:59 am, "anjan bacchu.dev" <anjan.d...@gmail.com> wrote:
> > Hi All,
> >
> >    We have an enterprise app done in GWT 2.0.3 and SmartGWT 2.2 which has
> a
> > few screens, login and a few CRUD screens. We would like to have nice
> URLs
> > for the same, one each for all the pages including login.
> >
> > Eg :
> > 1)http://domain.com/appname/loginfor the login Page
> > 2)http://domain.com/appname/familyManagementfor the "family Management
> > Page"
> > 3)http://domain.com/appname/userManagementfor the "User Management Page"
> >
> > You get the idea. What does it take to do that ?
> >
> > What have others done in a similar scenario ?
> >
> > Thank you,
> >
> > BR,
> > ~A
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to