javascript - how to send database value from jsp to jsp without using submitting form -


i trying send database value jsp jsp not working

this code in js file

 }     xmlhttp.open("get","st_proedit.jsp?pro_id="+ str2 , true);     xmlhttp.send(); } } 

this code in sending jsp

onclick="showhint1('st_proedit.jsp', <%=rs.getstring("pro_id")%>)"/> 

this code in receiving jsp

<%request.getparameter("pro_id");%> 

can me please


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -