Hi, i have a servlet for uploading files inside a path that contains a symbolic link, the upload works fine with tomcat 7 but after upgrading it to tomcat 9 the servlet give me a java.lang.NullPointerException at java.io.File.<init>.

I tried setting the allowLinking param to true for the context in this way:

<Context path="/MTF" debug="0" docBase="/path/to/MTF" allowLinking="true" />

But it doesn't work.

Can you please help me?

Regards,

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to