I Have some files and they aren't func.
<mx File
<mx:Button label="Browse" click="myLoader.content.browse('myFile')" id="browseButton" />
<mx:Button label="Upload" click="myLoader.content.upload(' http://127.0.0.1:8080/upload/SimpleUpload.jsp','POST')" id="uploadButton" />
<mx:Loader source="fileIO.swf" height="10" width="10" id="myLoader" />
<mx:Button label="Upload" click="myLoader.content.upload(' http://127.0.0.1:8080/upload/SimpleUpload.jsp','POST')" id="uploadButton" />
<mx:Loader source="fileIO.swf" height="10" width="10" id="myLoader" />
SimpleUpload.jsp
<%@ page language="java" import="javazoom.upload.*,java.util.*" %>
<%@ page errorPage="ExceptionHandler.jsp" %>
<jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
<jsp:setProperty name="upBean" property="folderstore" value="c:/uploads" />
</jsp:useBean>
<%
if (MultipartFormDataRequest.isMultipartFormData(request))
{
// Uses MultipartFormDataRequest to parse the HTTP request.
MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
String todo = null;
upBean.store(mrequest, "uploadfile");
}
%>
Anyone has a idea of how start this?
On 9/21/05, Felipe Tadeus <[EMAIL PROTECTED]> wrote:
Can you say how?
On 9/21/05, Jose Quiles <[EMAIL PROTECTED] > wrote:Hi,
I think you must register your servlet in the web.xml file, in WEB-INF
directory.
Regards,
Jose
2005/9/21, Felipe Tadeus <[EMAIL PROTECTED]>:> SPONSORED LINKS
> owls_yang,
>
> I read this archive in a previus time, but in my home tests the TomCat isn't
> knowing de Servlet(AttachmentSvlt.java).
> Is it go to special folder or I need do anything more?
> Do you have the example running in your pc?
>
> Flw
>
>
> On 9/21/05, owls_yang < [EMAIL PROTECTED]> wrote:
> >
> > the ActionScript class LocalConnection would be helpful.
> > I learned a lot from this awesome flex upload tutorial.
> >
> http://weblogs.macromedia.com/mchotin/archives/2004/11/guest_post_on_f
> > .cfm
> >
> > Hope it would be helpful and save your time.
> > Of course, I read many entries that Flex Player 8 has the upload
> > feature. But I've not tried out that, and it may be an alternative.
> >
> > Regards,
> >
> > Owls.
> > --- In [email protected], Felipe Tadeus <[EMAIL PROTECTED]>
> > wrote:
> > > YES,
> > > But I need send to flex app, the name and the way of this archive
> > in the
> > > server, to future download of this. If the upload sucess...the
> > MBs...
> > > How Can I do it?
> > >
> >
> > > On 9/20/05, owls_yang <[EMAIL PROTECTED]> wrote:
> > > >
> > > > You use getURL to open a jsp, where you would write a <form
> > > > type="file"> to select a file on your pc and then submit it to
> > server-
> > > > side.
> > > >
> > > > You cannot use getURL to select file or send it to server, flex
> > > > cannot manipulate your local files on the client side.
> > > >
> > > > FYI
> > > >
> > > > Owls.
> > > >
> > > > --- In [email protected], Felipe Tadeus < [EMAIL PROTECTED]>
> > > > wrote:
> > > > > But, how can I get the file from my pc and sendo to jsp with
> > > > GetUrl ?
> > > > >
> > > > > On 9/20/05, Clint Modien <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > You can do file upload 2 ways now....
> > > > > > 1st way... pop up your file upload jsp using the getUrl
> > method
> > > > in
> > > > > > actionscript.
> > > > > > or (and slightly more complicated for your situation)
> > > > > > 2nd way... using flash player 8 and the new file upload
> > > > feature...
> > > > > >
> >
> http://www.macromedia.com/devnet/flex/articles/fp8_features.html
> > > > > >
> > > > > > On 9/20/05, morslay777 <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > I have a simple JSP that upload into server a file that is
> > > > received
> > > > > > > from the other jsp.
> > > > > > > The parameter that JSP receive is a "file" from
> > <html><form>
> > > > type.
> > > > > > >
> > > > > > > How Can I use flex to send this file to JSP and complete de
> > > > process?
> > > > > > >
> > > > > > > Thank you!
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > 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
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Flexcoders Mailing List
> > > > > > FAQ:
> > > >
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > > > Search Archives:
> http://www.mail-archive.com/flexcoders%
> > <http://www.mail-archive.com/flexcoders%25 >
> > > > 40yahoogroups.com < http://40yahoogroups.com/>
> >
> > > > > >
> > > > > >
> > > > > >
> > > > > > SPONSORED LINKS
> > > > > > Web site design development< http://groups.yahoo.com/gads?
> > > >
> >
> t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=C
> > > >
> >
> omputer+software+development&w3=Software+design+and+development&w4=Mac
> > > >
> >
> romedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-
> > > > 4QTvxB_quFDtMyhrQaHQ> Computer
> > > > > > software development< http://groups.yahoo.com/gads?
> > > >
> >
> t=ms&k=Computer+software+development&w1=Web+site+design+development&w2
> > > >
> >
> =Computer+software+development&w3=Software+design+and+development&w4=M
> > > >
> >
> acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lv
> > > > QjSRfQDfWudJSe1lLjHw> Software
> > > > > > design and development< http://groups.yahoo.com/gads?
> > > >
> >
> t=ms&k=Software+design+and+development&w1=Web+site+design+development&
> > > >
> >
> w2=Computer+software+development&w3=Software+design+and+development&w4
> > > >
> >
> =Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=
> > > > 1pMBCdo3DsJbuU9AEmO1oQ> Macromedia
> > > > > > flex< http://groups.yahoo.com/gads?
> > > >
> >
> t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+soft
> > > >
> >
> ware+development&w3=Software+design+and+development&w4=Macromedia+flex
> > > >
> >
> &w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36
> > > > cYzBjw> Software
> > > > > > development best practice< http://groups.yahoo.com/gads?
> > > >
> >
> t=ms&k=Software+development+best+practice&w1=Web+site+design+developme
> > > >
> >
> nt&w2=Computer+software+development&w3=Software+design+and+development
> > > >
> >
> &w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
> > > > ig=f89quyyulIDsnABLD6IXIw>
> > > > > > ------------------------------
> > > > > > YAHOO! GROUPS LINKS
> > > > > >
> > > > > >
> > > > > > - Visit your
> > > > group "flexcoders<
> http://groups.yahoo.com/group/flexcoders>"
> > > > > > on the web.
> > > > > > - To unsubscribe from this group, send an email to:
> > > > > >
> [EMAIL PROTECTED]<flexcoders-
> > > > [EMAIL PROTECTED]?
> > subject=Unsubscribe<http://[EMAIL PROTECTED]/?
> > subject=Unsubscribe>
> > > > >
> > > > > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > > > > Service < http://docs.yahoo.com/info/terms/>.
> > > > > >
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > --
> > > > >
> > > > > Educamais.Brasuca.org <http://educamais.brasuca.org/> <
> > > > http://Educamais.Brasuca.org <http://educamais.brasuca.org/>>
> >
> > Join it!
> > > > > Felipe Valcanaia [ FLEX Technology ]
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > > - Visit your
> > group "flexcoders<
> http://groups.yahoo.com/group/flexcoders>"
> > > > on the web.
> > > > - To unsubscribe from this group, send an email to:
> > > > [EMAIL PROTECTED]<flexcoders-
> > [EMAIL PROTECTED] >
> > > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > > Service < http://docs.yahoo.com/info/terms/>.
> > > >
> > > >
> > > > ------------------------------
> > > >
> > >
> > >
> > >
> > > --
> > > --
> > >
> > > Educamais.Brasuca.org < http://Educamais.Brasuca.org> Join it!
> > > Felipe Valcanaia [ FLEX Technology ]
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> > Visit your group "flexcoders" on the web.
> >
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> > ________________________________
>
>
>
>
> --
> --
>
> Educamais.Brasuca.org Join it!
> Felipe Valcanaia [ FLEX Technology ]
>
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
> Web site design development Computer software development Software design
> and development Computer software development Software design and
> development
> Macromedia flex Software development best practice
> Macromedia flex Software development best practice
> ________________________________
> YAHOO! GROUPS LINKS
>
> Visit your group "flexcoders" on the web.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
--
Educamais.Brasuca.org Join it!
Felipe Valcanaia [ FLEX Technology ]
--
--
Educamais.Brasuca.org Join it!
Felipe Valcanaia [ FLEX Technology ]
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

