cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jain, Neeraj" <neeraj.j...@wincor-nixdorf.com>
Subject problem with file upload
Date Thu, 14 Oct 2004 07:00:33 GMT
Version: cocoon-2.1-M1.jar
 
I get classcastexception while attempting to upload a file. Following is the
stacktrace
 
       at com.mypackage.FileUploadAction.act(FileUploadAction.java:275)
       at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:133)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:84)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:164)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:108)

 
Line 275 in FileUploadAction.java is

         PartInMemory filePart = (PartInMemory) request.get("uploadfile");
 

Mime
View raw message