here , I used jstl to fetch data from dropdownlist, but I put parameter value code in another jsp page, ans is ok but display on another page, I want when I select data from dropdownlist it should print in same page, that's why I used javascript on same page, give form action as empty, but ans not ok, how can I get this?
In the future, please UseCodeTags when posting code.
That's not the client-side JavaScript code, that's your JSP server-side markup. We need to see what JavaScript is being interpreted by the browser. Please use View Source at the browser, or the browser Dev Tools, to show us the client-side code.