Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Upload File


Message #1 by yanv@t... on Tue, 5 Sep 2000 02:45:12 GMT
Hi,
     You have to use the HttpServletRequests
getInputStream method that will return a
ServletInputStream object. Using this object you parse
the input stream and create a new file on the server.
The details would be in the book.
    Hope this helps.

Manas

--- yanv@t... wrote:
> Hello,
> 
> I am developing a JSP project, and I have read the 
> Professional JSP book
> which in chapter 20 and page 702 said that I can
> upload a 
> file using
> HttpServletRequest object, how can I implement that
> object, 
> because in that
> book doesn't explain how to use HttpServletRequest
> object ?
> Another question is, how to upload a file (or
> several 
> files) and directly
> insert that into a database ? Is there any object
> that I 
> can use ? And how ?
> 
> FYI : I use Resin ver 1.1.2 from Caucho
> (www.caucho.com) 
> for developing my
> project.
> 
> Thanks in advance,
> Yan
> 
> 
> ---------------------------------------------
> This message was sent using Instan Webmail.
> http://mail.telkom.net
> 
> 
> 
> ---
> Do you know what you want from this list? How would
> you provide programmers with the solutions they
> need? If you have the answers, and are willing to
> work in Birmingham (UK), then you could be a List
> Manager. Please send CVs and a covering letter to
> listsupport@p... for further information. 
> manasranade@y...
$subst('Email.Unsub')


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

  Return to Index