commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Christian" <robertjchrist...@gmail.com>
Subject error with "boolean isMultipart = ServletFileUpload.isMultipartContent(req);"
Date Fri, 12 Dec 2008 06:44:56 GMT
exception occurs at ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 310

using tomcat 6
commons-fileupload-1.2.1
commons-io-1.3.2

code looks like:

public void doPost(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {

        try {
            // Check that we have a file upload request
            boolean isMultipart = ServletFileUpload.isMultipartContent(req);

            // Create a new file upload handler
            ServletFileUpload upload = new ServletFileUpload();

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message