Re: Newbie : How can you store an image in a database
Re: Newbie : How can you store an image in a database
- Subject: Re: Newbie : How can you store an image in a database
- From: Gilles MATHURIN <email@hidden>
- Date: Sun, 18 Jun 2006 22:45:55 -0400
Thanks you all for the contributions; It works now !!! :-)
I appreciate. i had to verify the form and intantiate an image object
in the constructor, and now it's working.
Le 18 juin 06 à 06:14, Kuon - Nicolas Goy (Goyman.com SA) - 時期
精霊 a écrit :
Firstly, verify your form.
Do a:
public WOComponent addToDB() {
System.out.println(aFileContents.length());
...
If you got 0 or null exception, verify the following:
- Form enctype.
- Layout of form, multi submit for example.
Regards
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/
"Computers should not stop working when the users' brain do."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden