File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Wicket: How can you encode the URL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wicket: How can you encode the URL ?" Watch "Wicket: How can you encode the URL ?" New topic
Author

Wicket: How can you encode the URL ?

Karn Kumar
Ranch Hand

Joined: Aug 06, 2009
Posts: 146

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
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
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

Joined: Aug 06, 2009
Posts: 146

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

Joined: Aug 06, 2009
Posts: 146

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 .



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wicket: How can you encode the URL ?