Hello,

I'm using Wicket 1.5M3 and I'm trying to have nice-looking URLs in my web
app.

The URLs produced by the code as below are almost perfect, except for one
detail: always, there is a counter appended, reflecting the number of
requests made in this session.


For example I get http://localhost:8080/myapp/contact?3, when I would prefer
to have just http://localhost:8080/myapp/contact.


All my pages are stateless -- at least that is what I think they are, many
do not even have any code in their corresponding Java class. I also tried
using setStatelessHint(true); but the results are the same.

The code I use is:

in MyApplication.java's init() method

        mountPage("/contact", ContactPage.class);

etc., for all pages; and when creating links to the pages in the site's
menu, I do

       add(new BookmarkablePageLink("contact-link", ContactPage.class));

with
        # contact 

in the HTML.


Is it possible to get rid of those ?x that are appended to the URLs ?


thank you in advance for your answers
kind regards
Heikki Doeleman




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URLs-without-counter-parameter-tp3724144p3724144.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to