Does anybody has a working exemple of a file upload with cocoon2 using
com.oreilly.servlet.MultipartRequest?
I'm getting
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
upload_xsp:
Line 288, column 31: Class javax.servlet.ServletRequest not found in new.
Line 352, column 44: Undefined variable or class name: multi
with these lines...
try {
MultipartRequest multi = new MultipartRequest(request, tempUploadDir,
10*1024*1024);
}catch (Exception e){
}
Going one step forward, must I download the javax.servlet package and put it
in the WEB-INF/lib directory? Somehow that doesn't seem logic...
Any help (maybe this is not the right way to do file upload) will be much
appreciated...
Thanks in advance.
Tibi Dondera
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>