Hello, one thing you could do is to not worry with Wicket doing this but 
instead allow a proxy to do this for you such as Squid with the very good Squid 
URL rewriting engine. I think even Apache has some very good URL rewriting 
configurations. Just an idea, David.




There are 10 kinds of people in this world: those who understand binary and 
those who don’t (Valid only for 2's complement).

----- Original Message -----
From: "DV" <[email protected]>
To: [email protected]
Sent: Friday, April 10, 2009 10:11:24 AM GMT -06:00 US/Canada Central
Subject: URL rewriting


We are evaluating wicket to rewrite our consumer UI.

There is one requirement in which I would like to get advice on.

We have a requirement in which the wildcard url gets dispatched to a controller 
that renders a page. The url pattern is in the form of 
"/company/**-details.html".

We have a single controller that receives the above url and figures out the 
company name and displays the page accordingly or throws a http 404 error if 
the company is not found.

e.g /company/ABC-details.html, /company/TOTO-details.html etc

Can this be done in wicket?

Any advice or hints would be appreciated!

Dinp


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to