If one were to mount a page like so:

mount(new QueryStringUrlCodingStrategy("foo/ HomePage.html",HomePage.class));

How would you go about having it so resources referenced in HomePage.html are relative to foo/ and not /? So if there was an <img src="images/myimage.jpg" /> inside HomePage.html, currently the server would get a request for <context for webapp>/images/myimage.jpg, whereas the goal is to have it requested as <context of webapp>/foo/ images/myimage.jpg.

Thought <base href="foo/"/> would do the trick, but it didn't seem to.


Craig.

--
Craig Tataryn
site: http://www.basementcoders.com/
podcast:http://feeds.feedburner.com/TheBasementCoders
irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin
im: [EMAIL PROTECTED], skype: craig.tataryn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to