If I have a drop down list and user picked an item there, then when user clicks another element on the page, a javasacipt code disable the entire drop down list. So what we see is -- the item user just picked from the drop down list is still highlighted but all the items in the list is grayed out. At this time, if user clicks Submit button, does that selected item get carried over as hidden variable to next page in JSP parameter ?
To achieve this you can follow one of the two ways mentioned below.
2) Assign the values of the disabled parameters to some hidden variables and use these instead of using the actual parameters.
I dont know how good the above mentioned ways are and if there are any better ways than these. I have followed both the above methods when I ran into a similar situation.