i am able to send the fields but along with this i want to send one intger value(constant). to the servlet.. so what changes need to be done to the url for sending the constant value.
I have tried with this url but not getting the value it shows null value in the console.
On an unrelated issue, you're using the invoker servlet, but The Invoker Servlet Is Evil. You might want to address that before you go into production.
This is strange. Appending query string parameters through javascript is working if the request is submitted with HTTP POST. But if the method is GET, all the parameters that were appended are being overwritten by the parameters in the form.
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12267
1
posted
0
If you want a value computed by Javascript to be sent with the form data, write it into a hidden field in the form. Bill
saikrishna cinux
Ranch Hand
Joined: Apr 16, 2005
Posts: 689
posted
0
Originally posted by William Brogden: If you want a value computed by Javascript to be sent with the form data, write it into a hidden field in the form. Bill
You Rock!!!
yes, Mr William You got what i exactly wanted to know and u have given the right solution . thanx a lot man., Yes, I have used hidden field for sending the constant value to the servlet..and i got it...
thanks ...
cinux
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.