Hi Riyad n Ernesto,

Thx a lot for your help.
I've found the solution among those search results.
The class name is FileResource.
Quite simple, yet I wonder why the class isn't included in Wicket,
bcoz it's a common need.
Many thanks for the clues...
GBU


On Tue, Mar 2, 2010 at 10:06 PM, Riyad Kalla <rka...@gmail.com> wrote:
> Mike,
>
> The solution is writing a wicket component that finds the image on-disk and
> streams the bits back to the browser. Try these search results:
> http://old.nabble.com/forum/Search.jtp?forum=13974&local=y&query=dynamic+image
>
> <http://old.nabble.com/forum/Search.jtp?forum=13974&local=y&query=dynamic+image>and
> these:
> http://old.nabble.com/forum/Search.jtp?query=image+on+disk&local=y&forum=13974&daterange=0&startdate=&enddate=
>
> <http://old.nabble.com/forum/Search.jtp?query=image+on+disk&local=y&forum=13974&daterange=0&startdate=&enddate=>Your
> answer is in there somewhere. The thread recently (3 weeks ago?) about it
> was pretty long and someone pasted a complete impl that they were using that
> folks said worked great. I just don't recall the class name otherwise I'd
> search for it :)
>
> -R
>
> On Tue, Mar 2, 2010 at 4:46 AM, Gw <not4spamm...@gmail.com> wrote:
>
>> Hi all,
>>
>> I'd like to know how to display an image which is located outside web
>> application directory (eg: C:\images) .
>> Many thanks in advance for your assists.
>>
>> Regards,
>> Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to