Originally posted by Steve Dyke: I suppose I did not understand what you were asking and I could still be confused
OK, you really need to know the difference between a GET and a POST. Search google for "HTTP methods".
If your form tag does not specify a nethod, it defaults to GET. I suspect your problem will be fixed by adding
to your <form> tag.
Please do your HTTP research to understand why it makes a difference!
As far as the arg0, arg1 I think the answer is yes.
These are horribly unreadable choices for the parameter names. If you are here to learn, then my advice is to choose variable and parameter names that enhance, rather than obscure the readability of the code. Why not use request and response?
Please forgive me of my lack of knowledge. I am really trying to learn.
That's good, no apology necessary.
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
posted
0
You have made my day. The suggestion to put the 'post' in my calling form worked. I just assumed(right) that the doPost and doGet methods were literal. I have not had any trouble up until now.
Thanks again for sharring your knowledge. I am sure I will have a lot more issues to question you about.
Some IDEs use this name when you use a wizard to create a new Servlet. You will probably say that you should then change this name and I agree. I just wanted to point out that sometimes it is not a conscious choice.
goli reddy
Greenhorn
Joined: Sep 02, 2007
Posts: 8
posted
0
is it your request is get/post it is being limitaions on length.i think get is limited 240 to 250 characters