Lauri,
On 6/2/23 02:58, Lauri wrote:
@Thomas:
I have made a test using the request.getParts() API, as mentioned here:
https://docs.oracle.com/javaee/6/tutorial/doc/glrbb.html
The test upload application has been modified as:
-- web.xml
---
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_5_0.xsd"
If you want to use Tomcat 10, these are the wrong XML schema references.
You want the Jakarta ones.
<%@ page import="java.io.*, java.util.*, javax.servlet.*, javax.servlet.http.*"
%>
If you want to use Tomcat 10, these are the wrong packages. You want the
Jakarta ones.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org