Hi All,

I already posted this question & also I got replies for this but 
still my problem solved :(

I want to save my uploaded file in DB & my DB is Oracle 9i.

To store file in DB I am still using fileIO feature.
>From mxml page I am sending file name to JSP page as,

 x= x+"?fileName="+uploadURL.text+"&passcreBy="+passcreBy;
            where x="my JSP page name"

& by doing ,
    request.getParameter("fileName")  I am getting the File Name on 
JSP page.

Now in JSP I am creating instance of my Java class which has save()
method. 
To this method I want to pass my attached file name.
In normal way I can do this.

but in that Java class I need to get the data of this file which I 
am not able to get yet.                                 

If I use javazoom.upload.UploadFIle then this class has method 
getData() but this works fine only with plain JSP.As in plain jsp to 
get the file name one can do,

UploadFile file = (UploadFile) files.get("uploadfile");
    where "uploadfile" is the name of,
  <input type="file" name="uploadfile" size="50">

But as I am passing my file name from Flex to JSP how I can do this.

Hope whoever seeing this my problem will understand.

Thx in advance,
sandip patil
  






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to