You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Melanie Harris <ha...@yahoo.com> on 2001/12/18 22:03:22 UTC

Using
Can someone please share some code that uses the
html:file element to do a file-Upload.

<html:form method="POST"
enctype="multipart/form-data">
        <html:file property="theFile" />
</html:form>

I need to provide a way for the user so select a file
from the file system, then I need to take that file
and save its content into an Oracle clob or blob field
(not certain about the field type).  

Thanks!

-mel h

__________________________________________________
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Using Posted by Melanie Harris <ha...@yahoo.com>.
John, 

thanks for this info!

-mel h 

--- John Yu <jo...@scioworks.com> wrote:
> Struts' distribution comes with an example,
> struts-upload.war.
> 
> At 01:03 pm 18-12-2001 -0800, you wrote:
> >Can someone please share some code that uses the
> >html:file element to do a file-Upload.
> >
> >enctype="multipart/form-data"> I need to provide a
> way for the user so 
> >select a file from the file system, then I need to
> take that file and save 
> >its content into an Oracle clob or blob field (not
> certain about the field 
> >type). Thanks! -mel h
> 
> -- 
> John Yu                       Scioworks Technologies
> e: john@scioworks.com         w: +(65) 873 5989
> w: http://www.scioworks.com   m: +(65) 9782 9610
> 
> Scioworks Camino - "Rapid WebApp Assembly for
> Struts"
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Using Posted by John Yu <jo...@scioworks.com>.
Struts' distribution comes with an example, struts-upload.war.

At 01:03 pm 18-12-2001 -0800, you wrote:
>Can someone please share some code that uses the
>html:file element to do a file-Upload.
>
>enctype="multipart/form-data"> I need to provide a way for the user so 
>select a file from the file system, then I need to take that file and save 
>its content into an Oracle clob or blob field (not certain about the field 
>type). Thanks! -mel h

-- 
John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Rapid WebApp Assembly for Struts"


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>