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"/>


**in composer:

public class IndexCtrl extends SelectorComposer<window>{


    public void ddd(UploadEvent event){

        Media media = event.getMedia();


    }    }**

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


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




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