Basically you will want to call getInputStream or
getFileData off of the FileForm class.

On your PreparedStatement you can call setBlob or
setBytes depending on the datatype in the database to
hold the binary data.

scott.


--- "Fischer, Thomas" <[EMAIL PROTECTED]>
wrote:
> Hello!
> Can anybody help me?
> How can I store pictures in a data base with struts
> file-tag?
> Is there example code?
> Thanks
>       Thomas
> 


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to