> first of all if you want to prepend youre urls with a
> full path then just do:
>
> ApplicationSettings.setContextPath("FullUrl");
>
> in the init of youre application.
>
> Then all urls will be absolute.
>
> getContextPath() is by default the contextpath of youre webapplication.
> If you don't set it expliciet in youre initialize.
>
> And that contextpath will be used for everything to prepend all urls.
> Did we miss a spot?

Yes. That's what I've been saying all along.

The above does not work for me like you think it should.


> Why would you by the way prefix urls with a full http://xxxx/ path?

For two reasons: (1) to act as a work around to the above problem, and (2)
to keep all my resources for my various applications in one place, so I
don't have to include them in all of my web bundles (each one having a
different servlet context).


Thank you for your interest. Everything is now working for me, but I'll
gladly send more details if you are interested.


Cheers,
Dave




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to