Hi, Beware of using getRealPath if your app is deployed on a Tomcat server where it's set _not_ to unpack the wars (for instance 99% of the plesk domain hostings).
It will always return null. My 2 cents. Cristi Manole On Thu, Apr 24, 2008 at 4:23 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Not quite sure but you can get the folder that is the root of your > application context > > File file = new File( getServletContext().getRealPath( "/" ) ); > -- > View this message in context: > http://www.nabble.com/How-to-set-the-path-for-a-uploadfolder--tp16848200p16850438.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] > >
