resource finders look for the thing relative to the classpath i believe. can you try new File("subdir/file.html") ?

-Igor


On 3/27/06, Matthias Albert <[EMAIL PROTECTED]> wrote:
What must be done inside a WebPage object to obtain access to a servlet
resource via:

IResourceFinder resfinder =
getApplication().getResourceSettings().getResourceFinder();

URL url = "">
?

file.html is an ordinary static HTML page. The result url is null,
although the file.html exists in the subdir directory under the webapp
root. /subdir/file.html doesn't work either.

Thank you

Matthias Albert




-------------------------------------------------------
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