hello friends, in Head First book page 81,after Making SelectBeer.java and compiling it,i got SelectBeer.class file. copied it for the deployment as specified to the path- /Beer-v1/WEB-INF/classes/com/example/web directory.
but when i do selection on the form.html for a beew selection, after that it doesent work. what can be the problem? when i click the select button, it pops up a window asking file Find,Save or Cancel.. if i click "Find" it opens a page where it says " File Type: Unknown Description: Windows does not recognize this file type"
what can be the problem.i have done every step properly..
posted 10 years ago
Check how you set your contents-type inside servlet response.setContentType("text/html")