0

using file upload in jetty ,a bug?

asked 2013-02-24 03:01:31 +0800

yaminglin1977 gravatar image yaminglin1977
36 2

updated 2013-02-25 01:37:19 +0800

the code:

**in zul: <window apply="org.lym.ctrl.IndexCtrl">

      < button label="Upload" upload="true" id="btn"/>

</window>**

**in composer:

public class IndexCtrl extends SelectorComposer<window>{

    @Listen("onUpload=#btn")

    public void ddd(UploadEvent event){

        Media media = event.getMedia();

        System.out.println(media.getName());

    }    }**

can be run in tomcat but when it run in jetty,it is hung

is it a bug?`

my environment is eclipse juno ,Run-Jetty-Run,tomcat 7

delete flag offensive retag edit

Comments

where does it hung? I tried it simply by &lt;button label="upload" upload="true" onUpload='System.out.println(event.getMedia().getName())'/&gt; without any issue in RJR with jetty 6, 7 and 8 , they all work correctly.

dennis ( 2013-02-25 03:31:18 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-02-24 03:01:31 +0800

Seen: 11 times

Last updated: Feb 25 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More