Hi Alex,
 
try
 
getApplication().getWicketServlet().getServletContext().getRealPath();
 
 
Dirk

 
2006/3/31, Alexander Lohse <[EMAIL PROTECTED]>:
Hi,

how do I determine the local path to my webapp?

getApplication().getApplicationSettings().getContextPath();

gives me the web-path.

In other words, from this jetty-config:

<Call name="addWebApplication">
    <Arg>/quickstart</Arg>
    <Arg>src/webapp</Arg>
</Call>

where do I find the 2. argument?

Regards,

Alex




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to