You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 77517bb
Browse filesBrowse the repository at this point in the historyBrowse files
1. Include Rewrite GWT in your application's POM file:
8
+
9
+
<dependency>
10
+
<groupId>com.ocpsoft.rewrite</groupId>
11
+
<artifactId>rewrite-integation-gwt</artifactId>
12
+
<version>${rewrite.version}</version>
13
+
</dependency>
14
+
15
+
2. This enables the HTML5 History.pushState(...) support in your application, which will now use pretty/URLs whenever possible instead of the '#' anchor tag with 'name=value' pairs. Note that you must modify your place tokenization to process the new information.
16
+
17
+
3. Enable bookmarking by routing some or all URLs back to your host application file. Below is a recommended rule format (replace */index.jsp* with the path to your application):
18
+
19
+
public class HistoryRewriteConfiguration extends HttpConfigurationProvider
20
+
{
21
+
public static Logger log = Logger.getLogger(HistoryRewriteConfiguration.class);
22
+
23
+
@Override
24
+
public Configuration getConfiguration(ServletContext context)
0 commit comments