tomahawk inputfileupload uploaded file is null

后端 未结 3 1992
时光取名叫无心
时光取名叫无心 2021-01-07 10:37

I am using Tomahawk\'s fileupload component for uploading files. I\'ve set enctype of form as

enctype=\"multipart/for         


        
3条回答
  •  抹茶落季
    2021-01-07 11:01

    I got this issue when I had started on the basis of faces extensions -> the stuff where you put

    <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>

    and use myfaces-extensions-1.0.9.jar.

    There is a tutorial on that approach at onjava.com but the tutorial is from year 2005 and does not work with the current jsf1.2 versions. Being fighting with that very old solution tutorial found with google I realized it's worth of checking always that you're using uptodate tutorials also not just uptodate jar-versions.

    I wanted to give this solution to those who also have started this thing from upside down.

提交回复
热议问题