This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I tried the code from Leonid Dukhvalov [see thread File Upload problem]. But iam not able to write file to my web app directory in tomcat. I read the server documentation and it specifies that by default only read permission is enabled. How to setup write permission for a given web application
I think we need more information - which operating system are you using? Write permission could be an operating system setting. Exactly what is the text of the Exception or Error that you get when you try to write a file - frequently the text can lead you right to the problem. Exactly how do you construct the name used to open the file? Bill
Joined: Oct 27, 2004
Thanks for the reply..
I am using win2k ..Tomcat 5.1.. Iam getting the following error
HTTP Status 404 - D:\JSoft\Tomcat 5.0\webapps\WebServlet (Access is denied)
type Status report
message D:\JSoft\Tomcat 5.0\webapps\WebServlet (Access is denied)
description The requested resource (D:\JSoft\Tomcat 5.0\webapps\WebServlet (Access is denied)) is not available.