This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i created a web application to download a jar file...but when i run the application it tries to open the servlet itself
here is the code
this is the form.html(reside in the application context root):
This is the web.xml file:
i place the servlet-api.jar in the application context root as supposed...but whe i click the download button a dialog from the browser appears to either save dodo.do file or to choose a file to open it....how is that....why???
Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the button on your post.