i have a drop down in <form name=dropdown> and i need to submit its value to the next page,
by clicking a button in another <form>
the next page is with String x= request.getParameter and i am getting null.
how can i able to resolve such.
<form name = dropdownn action="a.jsp">
<select name "select">
<form name= button action="b.jsp">
<input type ="submit">click</input> --------------------------> this button should send the selected value
the reason why the button is on the second form is for design purposes.
The code you posted is not complete, and I could not get the first form from it. Here's a sugestion though :-
2. Call this in the onClick of your button, by the way, I think you should make it a button instead of submit. I am not sure of this, but it seems counter-intuitive(and unlikely) that 2 forms can be submit concurrently.
Hope this helps.
Joined: Aug 15, 2011
forgot to end this topic
its case solve
my overwhelming gratitude to you saikat.
GOD Bless you always
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: assign dropdown selected value to a java variable