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.
Hi ranchers, 1. Based on my experience with some servlets, I belive that there's no order by which request paremeters are sent. I'm using a simple servlet where I'm getting a java.util.Enumeration from ServletRequest.getParameterNames() method and then printing each param value. But, the params are retrieved but not in the order they were rendered by the HTML page.
2. GET is the default HTTP method. I have a servlet which doesn't overide the doGet() method. Pls. Consider the following two cases:
(a)When I post a form data which explicitly says METHOD=POST, I get the expected HTTP 405 error- method not supported. (b) But, when I ommit any method, i-e METHOD= I don't get any error, instead the page gets refreshed. Why don't i get an error in this case also?