Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6645191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:15:23+00:00 2026-05-26T00:15:23+00:00

I have a webapp example.com written in pure GWT. Obviously the webapp has dynamic

  • 0

I have a webapp example.com written in pure GWT. Obviously the webapp
has dynamic links, like example.com/#/link1.

I want example.com/#/link1 to be accesible from outside my website. For example. I would like to post the example.com/#/link1 link in facebook.com so my friends can see it. However, when someone clicks on the link, it will take him to example.com, NOT example.com/#/link1, even though I have a valueChangeHandler in my EntryPoint.

So my question is, how to make dynamic links accesible from outside my GWT page.

EDIT: found out answer:

In EntryPoint do the following

public void onModuleLoad() {
     String initState = History.getToken(); 
    //This is your initial token for your gwt ap
    System.out.println(initState);

    //Do any stuff you want to here, like init some stuff in your app, and finally:
    History.newItem(initState);
    //That las line calls the initial state of your app. This worked for me because I
    //changed the history state in between, so I had to save initialState, do stuff and then
    //fire inistial state.
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:15:23+00:00Added an answer on May 26, 2026 at 12:15 am

    It seems to me like you need to work with Activities and Places to handle browser history. This creates a link between a place/state/page in your application and the URL in the browser by inserting/parsing URL place tokens. Have a look at the content of this Google Dev page.

    You should be able to do what you want with history handling. You define a set of tokens which describe places/pages/whatever state in your application. Your app parses tokens in the URL and redirects to the appropriate page/view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two WARS: base-overlay example-app base-overlay has XML config files in src/main/webapp/WEB-INF/spring/*.xml .
I have a webapp from which I'd like to insert diagrams and images quickly
I have a java webapp that has to be deployed on either Win or
I have a webapp development problem that I've developed one solution for, but am
I have a webapp that I am in the middle of doing some load/performance
I have a webapp which resizes its window to exactly fit its contents: window.resizeTo(200,300)
I have a webapp being hosted with a public hosting company, the site is
We have a webapp where people can upload various image file types and on
I have a start of a webapp that I wrote without using the Object
I have a self built JSP webapp and at the moment I'm using tomcats

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.