2

I am using Wicket 1.5.3 and in the extended WebApplication class I am registering home page, HomePage.java for pretty URL as:

mountPage('home', HomePage.class);

The result is a URL: http://localhost:8080/MyApplication/app/home?1

From where the "?1" came and how can I remove it?

If I want that the URL would be http://localhost:8080/MyApplication/app/home, then what should I do?

Thanks in advance.

Tapas Bose
  • 28,796
  • 74
  • 215
  • 331

1 Answers1

3

The parameter you see is the page version (because wicket pages are stateful). There is already a SO question how to get rid of this version in url.

Community
  • 1
  • 1
magomi
  • 6,599
  • 5
  • 31
  • 38