[Building Sakai] upload file with tomahawk in Sakai
list long
behaibeo at yahoo.com
Sun Apr 17 13:15:56 PDT 2011
Hi,
I'm trying to create a little tool using JSF . I want to implement an "upload
file" so I used tomahawk, but I encountered java.lang.NullPointerException. I
did specify my form enctype="multipart/form-data" and config the
ExtensionsFilter in web.xml. I also tried the same configuration on an JSF
project outside Sakai and it run completely fine. I include my web.xml,
faces-config, the backing bean and the jsp page. Can somebody help me fix this
or tell me other way to implement a file uploading in Sakai with JSF.
I am actually learning wicket too. And I know it much better to maintaince but
for this project I don't have much time left and I am more familiar with JSF. I
will switch to wicket after this, I saw project of JSF like Samigo and
understand the elegent of Wicket. But for now please help me with this.
Thanks a lot.
-- PVHoa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110418/718fac7e/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: web.xml
Type: application/xml
Size: 3740 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110418/718fac7e/attachment.rdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faces-config.xml
Type: application/xml
Size: 2860 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110418/718fac7e/attachment-0001.rdf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UploadFileHanler.java
Url: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110418/718fac7e/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UploadTest.jsp
Type: application/octet-stream
Size: 865 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110418/718fac7e/attachment.obj
More information about the sakai-dev
mailing list