Hi Philroc1,

I suggest you to developp your own servlet to do that.
PDF in a blob is a good solution ( no need to fill the filesystem ).
Put the SubscriberInformation object in session, so your servlet can find
it, and serve the PDF.

I met a similar problem, and it's how i did.

Regards.

Karim Duran

2012/3/15 philroc1 <[email protected]>

> Hello,
>
> I have just developed a GWT application which displays a table
> containing client invoice data (invoice number, start date, etc.) I
> would now like to display the clients' invoice PDFs (which are stored
> in BLOBs) whenever they click PDF icons contained in the table's last
> column.
>
> One of my colleagues recommended creating an RPC "servlet" to do that.
> Unfortunately, I can't figure out how to pass user information
> (contained in a SubscriberInformation object in the GWT application)
> to the servlet so that it can easily retrieve the corresponding BLOB
> using one of the application's DAOs.
>
> I have thought of writing the contents of the blog to a file in the
> GWT application, and passing the file URL to the servlet, but the
> Project Manager doesn't want PDF files to be written to the file
> system.
>
> Any suggestions would be greatly appreciated.
>
> philroc1
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to