Re: redirect GWT application URL With out # sign..

2016-08-08 Thread Gilberto
Hi Gaurav, The standard History mechanism of GWT uses the "#" token by default. To avoid using it, you need to use a different approach. (Always remember that a GWT app is a single page application) You can use the HTML5 pushState to handle your URLs. More info about it:

redirect GWT application URL With out # sign..

2016-08-02 Thread Gaurav VARSHNEY
http://abcc.com/#master replace http://abcc.com/master -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post

Re: redirect GWT application URL

2011-09-07 Thread Qiang Ma
Hi, Thomas, I learned a lot from your latest answer. Thanks! caniuse.com's approach is exactly what I want. Can you give more details on how the redirecting is done for the comment below? So redirecting from /foo to #foo might be better (caniuse.com does just that: redirect /history to

Re: redirect GWT application URL

2011-09-07 Thread Thomas Broyer
On Wednesday, September 7, 2011 1:04:59 PM UTC+2, maq wrote: Hi, Thomas, I learned a lot from your latest answer. Thanks! caniuse.com's approach is exactly what I want. Can you give more details on how the redirecting is done for the comment below? So redirecting from /foo to #foo might

Re: redirect GWT application URL

2011-09-05 Thread Thomas Broyer
Recent browsers implement pushState/onpopstate which allows changing the URL (and not only the hash part) without unloading the page. You can see it at work in Google Plus, GitHub's repository browser or even Facebook. In GWT, you could use deferred binding to replace the Historian

Re: redirect GWT application URL

2011-09-05 Thread Qiang Ma
Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my application. For example , I go to a domain hosting to redirect http://someotherdomain.com to http://mything.com/#someotherdomain But the domain hosting service

Re: redirect GWT application URL

2011-09-05 Thread Qiang Ma
Just an update... In the filter, redirect seems not working request.getRequestDispatcher(New_Url); On Mon, Sep 5, 2011 at 6:52 AM, Qiang Ma mumay...@gmail.com wrote: Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my

Re: redirect GWT application URL

2011-09-05 Thread Thomas Broyer
On Monday, September 5, 2011 1:52:37 PM UTC+2, maq wrote: Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my application. For example , I go to a domain hosting to redirect http://someotherdomain.com to

redirect GWT application URL

2011-09-04 Thread maq
Hi, I want to have people bookmark some internal state of my GWT app. The URL has format of http://mything.com/#blah or http://mything.com/#!blah (! added for google crawler). This URL doesn't look good. It will be nicer to just have http://mything.com/blah I am playing with a filter in the

Re: redirect GWT application URL

2011-09-04 Thread Y2i
Are you worried about aesthetic aspects of URL or do you have other considerations? My URLs, generated by a request factory, look like http://www.mything.com/#IjEzIg==@0@x0YxERJkFbt63LMv1j1lE_PUvL8= They go deeply into the application internal state, are bookmarkable and work with browser