Hi

I implemented that functionality this way

Java:
Create a servlet that handles the multipart data and write the file

Flex:
Using the file reference class pointing to the created servlet you call 
the upload method

For examples you can google ;)

regards

ericbichara wrote:
>
> Hi dimitrios,
>
> An example would be really great, i have no idea what url to use in
>
> fileRef.upload(new URLRequest(????));
>
> do i point to the blazeds remoting servlet?? Where does the file end
> up? Im lost. Thanks in advance!!
>
> --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>, "Dimitrios Gianninas"
> <[EMAIL PROTECTED]> wrote:
> >
> > The same way you would do it in JSP :)
> >
> > Use the FileReference class in Flex to allow the user to select a
> file and then tell it to send the file to a Java servlet. Then the
> servlet will receive the file and do what it needs to do with it. I
> assume you have done the Java portion before, so there is nothing more
> to it.
> >
> > Hope that makes sense, if not I can post a quick example.
> >
> > Dimitrios Gianninas
> > RIA Developer and Team Lead
> > Optimal Payments Inc.
> >
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>]
> On Behalf Of ericbichara
> > Sent: Wednesday, July 16, 2008 9:32 AM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Re: File Uploading
> >
> >
> >
> > Im in the same boat as you my friend, would really appreaciate it if
> > someone could lets us know how to do this, Thanks again.
> >
> > /Eric
> >
> > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com> , "Pravin Uttarwar"
> > <pravinuttarwar@> wrote:
> > >
> > > Hi All,
> > >
> > > I have requirement in my project of uploading the image file only.
> > > This can be done through using FileReference class but can anybody
> > tell me
> > > how
> > > it can be done using BlazeDs with java (not using jsp)????
> > >
> > > Thanks in advance.
> > >
> >
> >
> >
> >
> >
> > --
> > WARNING
> > -------
> > This electronic message and its attachments may contain
> confidential, proprietary or legally privileged information, which is
> solely for the use of the intended recipient. No privilege or other
> rights are waived by any unintended transmission or unauthorized
> retransmission of this message. If you are not the intended recipient
> of this message, or if you have received it in error, you should
> immediately stop reading this message and delete it and all
> attachments from your system. The reading, distribution, copying or
> other use of this message or its attachments by unintended recipients
> is unauthorized and may be unlawful. If you have received this e-mail
> in error, please notify the sender.
> >
> > AVIS IMPORTANT
> > --------------
> > Ce message électronique et ses pièces jointes peuvent contenir des
> renseignements confidentiels, exclusifs ou légalement privilégiés
> destinés au seul usage du destinataire visé. L'expéditeur original ne
> renonce à aucun privilège ou à aucun autre droit si le présent message
> a été transmis involontairement ou s'il est retransmis sans son
> autorisation. Si vous n'êtes pas le destinataire visé du présent
> message ou si vous l'avez reçu par erreur, veuillez cesser
> immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
> jointes, de votre système. La lecture, la distribution, la copie ou
> tout autre usage du présent message ou de ses pièces jointes par des
> personnes autres que le destinataire visé ne sont pas autorisés et
> pourraient être illégaux. Si vous avez reçu ce courrier électronique
> par erreur, veuillez en aviser l'expéditeur.
> >
>
>  

-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:*   311-3390386
*e-mail:*       [EMAIL PROTECTED]
*site:*         http://leo.logtar.com/profesional/

begin:vcard
fn:Leonardo Moreno
n:Moreno;Leonardo
adr:;;;Cali;;;Colombia
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ingeniero de sistemas y telem=C3=A1tica
tel;cell:3113390386
x-mozilla-html:FALSE
url:http://leo.logtar.com
version:2.1
end:vcard

Reply via email to