Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wicket: How can you encode the URL ?

 
Karn Kumar
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

We are using wicket as a framework and i am beginner to it , facing development to encode URL in Wicket in existing project

My URL is something like this





Can anyone guide me with example if possible , and what all changes i need to implement .


Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, exactly, do you mean by "encode the URL"? I could imagine several scenarios, and it's not clear to me from your post what the circumstances are. Maybe you provide more detail.
 
Karn Kumar
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for responding .

I mean the requirement is that we don't want to show the fully qualified class name in the URL (Means avoid to display actual class name to user)

Is there any way to handle this type of scenario.


Thanks in advance.



 
Karn Kumar
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I referred below
http://www.mkyong.com/wicket/how-do-encrypt-encode-url-in-wicket/

And seems working fine for me , it actually encrypting URL in the browser and also I am getting parameters in the URL which were previously there

This below line returning Map having all parameters and problem i faced after adding encoding logic is resolved .



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic