And you can set the contextpath to "" so and map with apache to a different server so that http://localhost:8080/context/ is mapped to http://bar.com
johan
On 4/6/06,
Andrew Berman <[EMAIL PROTECTED]> wrote:
But that wouldn't work for all Wicket urls. The problem I have is that I have one war file with multiple applications. Right now, I'm having problems mapping urls to each of those webapps. One app uses .htm (Spring MVC) and the other is a Wicket app which is mapped based on url folder. So, I want to be able to map http://foo.com to the Spring one via the .htm extension and http://bar.com to the Wicket app via some other extension instead of a folder. Currently, I'm playing around with mod_proxy and mod_rewrite in Apache and forwarding the requests to Tomcat.
Anyone have any thoughts on how to do this?On 4/5/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:did you try doing mountBookmarkablePage("/HomePage.htm", HomePage.class) ?
-IgorOn 4/5/06, Andrew Berman < [EMAIL PROTECTED]> wrote:I was wondering if there is a way in 1.2 to map Wicket's urls to an extension instead of to a directory. For example, is it possible to do http://localhost/HomePage.htm instead of the usual http://localhost/wicket/HomePage?
Thanks,
Andrew
