You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Frédérick, Fabian" <fa...@prov-liege.be> on 2005/08/11 15:14:57 UTC

UploadedFile interpretation

Hi,

    I'd like to insert an uploadedfile to my db.
My bean uses UploadedFile type.
 
private UploadedFile image;
String myimage=image.toString();
myimage.replaceAll("'", "\'");

->insert myimage

Problem is image.toString doesn't seem to work.Is there another solution ?

Best regards,
Fabian