Tapas Bose
Tapas Bose

Reputation: 29806

Nice URL: Wicket 1.5 mountPage

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.

Upvotes: 2

Views: 739

Answers (1)

magomi
magomi

Reputation: 6685

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.

Upvotes: 3

Related Questions