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 am trying upload 3.51 MB file using <input type="file"> and JSP and Glass Fish V3 Domain. I came to know it may be the size of the file is larger than the capacity. I found this error with successful run, when running the page first time, in Glash Fish:
If I restart the server, before running 2nd time the problem is gone temporarily.
How to solve this? and
I want to upload a specific file every time, without using <input type="file">. Is this possible?