Hi, I think the Page Action Image[1] example can help.

Regards,

Gilberto

[1] http://click.avoka.com/click-examples/general/page-action-image.htm
[2] 
http://click.avoka.com/click-examples/source-viewer.htm?filename=WEB-INF/classes/org/apache/click/examples/page/general/PageActionImage.java

On Tue, Dec 20, 2011 at 8:00 PM, djnenad <[email protected]> wrote:
> Hi, *
>
> Maybe this will a little bit stupid question for you, but I have a problem
> with getting resposne within quick page.
> I want to display image from database in browser, but I'm getting error that
> HttpServletRequest cannot be resolved. Problem is in this line:
> OutputStream o = getContext().getRequest();
>
> My idea is to try to get image from HTML on this way:
> /image.htm?id=3
> Image is Click-page class, but it seems that HttpServletRequest is not
> visible, and importing javax.servlet.http is not possible.
> Maybe this is not click related topic, but please help.
> Eclipse offers me to configure build path for that error. I've tried
> everything, but everything failed.
> Thank you in advance,
>    Nenad
>
> --
> View this message in context: 
> http://click.1134972.n2.nabble.com/Response-tp7113587p7113587.html
> Sent from the click-user mailing list archive at Nabble.com.

Reply via email to