[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] FileUpload provided from .jar (plugin)

Hello friends,
finally I get to know the file upload process.
The problem that I am stuck at is that I would like to use the upload
project as a jar plug-in. So I jar-ed commons-fileupload, commons-io and
rwt.widgets.upload. Then added them to a lib folder in the upload demo.
And ended up with the well known error:

"Could not evaluate javascript response:
TypeError: org.eclipse.rwt.widgets.Upload is not a constructor"

This thread[1] discuses the same problem but the solution[2] is too
vague for me.
My questions are:
1) is that the expected way to use the upload project;
2) what is web.xml in the context of RAP projects, as this is the first
time for me to stumble upon such case. Where is it defined and what are
its functions. An example is greatly appreciated;
3) is there another solution to this problem;

Thank you in advance,
Aleks


[1]
http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg05437.html
[2]
http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg05500.html