If memory serves, then you can get access to the servlet request, and pull out the context path from your page via:
getWebRequestCycle().getWebRequest().getHttpServletRequest() regards, Guðmundur On Thu, Apr 24, 2008 at 11:20 AM, unka_hahrry <[EMAIL PROTECTED]> wrote: > > Hi! > > I want to save images to a specified uploadfolder, but I don't want to > define the Folder object with an absolute path. Is there a possiblity to > define a Folder relative to the context root? > -- > View this message in context: > http://www.nabble.com/How-to-set-the-path-for-a-uploadfolder--tp16848200p16848200.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
