I try to make a get request by a html form, but if I write method="get" the parameter is not passed to the
servlet. On the other hand if I write method = "post" I can pass the parameter ? What do you think will the reason ?
I am a little confused. I write parameter only in action part of form like below
<form action="/ApacheProject/servlets/test.exe?param1=read" method="get">
<input type ="submit" value="Cookie Read" />
</form> -----> not working
<form action="/ApacheProject/servlets/test.exe?param1=read" method="post">
<input type ="submit" value="Cookie Read" />
</form> -----> working
servlet code extract