|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Kenneth Owino wrote:...but have still failed to find a clear example on how i can read individual parameters assigning them to given variables like it is with doGet()...
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Kenneth Owino wrote:... How can I send the parameters without attaching them to the url and recieve them at the servlet?
... I read that with POST you can send parameters as part of the request body
Please let me know why POST is only working when I use the url with parameters attached and not when I send them in the body.
Could this mean that getParameter only works when the parameters were sent as part of the url?
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |