cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiberiu Dondera" <tibidond...@hotmail.com>
Subject Upload file... working exemple?
Date Thu, 25 Oct 2001 00:27:54 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message