You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Josh Kamau <jo...@gmail.com> on 2010/02/06 07:14:30 UTC
Accessing web-inf folder
Hi guy;
Kindly help me. i would like to access the WEB-INF directory so that i can
store some images there.
Regards.
Josh
Re: Accessing web-inf folder
Posted by Josh Kamau <jo...@gmail.com>.
I figured it out
on the application init() method i added
public String getFolder(){
return
this.getServletContext().getResource("/WEB-INF/images").getPath();
}
On Sat, Feb 6, 2010 at 9:14 AM, Josh Kamau <jo...@gmail.com> wrote:
> Hi guy;
>
> Kindly help me. i would like to access the WEB-INF directory so that i can
> store some images there.
>
>
>
>
> Regards.
> Josh
>