Re: Dynamically rendering image - Servlet/Action

2007-07-02 Thread Stjepan Brbot
- Original Message - From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: 2. srpanj 2007 16:49 Subject: Re: Dynamically rendering image - Servlet/Action There is just such a DownLoad action designed to help with this - you just

Re: Dynamically rendering image - Servlet/Action

2007-07-02 Thread Stjepan Brbot
and send it to jsp page, and page to forward this request further to servlet rendering images (in ) but this request data is not forwarded! - Original Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: 2. srpanj 2007 1

Re: Dynamically rendering image - Servlet/Action

2007-07-02 Thread Larry Meadors
If it's in request scope, I'm assuming it is transient data, so why not pass the key to the database row to the servlet? /ImageServlet?rowKey=123 Or if you want to be more clever, even: /ImageServlet/123 /ImageServlet/123/file.png I've done that before to deal with stupid browsers that seem to

Re: Dynamically rendering image - Servlet/Action

2007-07-02 Thread Niall Pemberton
On 7/1/07, Stjepan Brbot <[EMAIL PROTECTED]> wrote: Hi, I have one classic HttpServlet for dynamically rendering an image from given (database retrieved) data. Actually this servlet takes data from session (previously retrieved from database and put inside session) and renders the image. Since t

Dynamically rendering image - Servlet/Action

2007-07-01 Thread Stjepan Brbot
Hi, I have one classic HttpServlet for dynamically rendering an image from given (database retrieved) data. Actually this servlet takes data from session (previously retrieved from database and put inside session) and renders the image. Since this is not Action but classis servlet it is mapped