I want to upload a file to a server, for which I am writing a servlet program.The location of the directory where the document would be uploaded should be fetched from a paramater in web.xml. I have not use web.xml before and only know that it makes entries for each servlet. I am not able to see this file in my web application project that i am making in netbeans. Please help me with this.
Why do we fall? So that we can learn to pick ourselves up.
It's located in the WEB-INF folder under the "Web Pages" level. If you don't have that folder, then you picked the wrong project type when you created the project. Make sure you choose New Project - Java Web - Web Application.
"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
I am using the right project but i think my project directly makes an entry for each new servlet in deloyment descripter so i havnt opened web.xml manually but now i need it but cannot ind it in WEB-INF.