Yeah,
It doesn't work with ServletContext.getRealPath("").
I have a template.vm that is located under my web-app context and I
want to read that file from wicket. But since Servlet is not exposed
direclty, I don't know how to do this in wicket.
Thanks in advance,
On 12/12/07, wicket user <[EMAIL PROTECTED]> wrote:
> can't use ServletContext.getRealPath("") to get the actual file path and
> read the file as you read normally.
>
> getServletContext() method will return the ServletContext.
>
> Or are you looking for something different ?
>
> regards
> dipu
--
I'm a coder not a drag-n-dropper
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]