how from an Access Currency field I populate a hidden field
Code:
//out.println("<input type=\"hidden\" name=\"price" + plantNo + "\" value=\"" + rs.getString(5) + "\">");
The above found to give errors... how from Access Currency field like price=
rs.getString(5)
I populate a hidden field ? How do it in MySQL ?
Servlets upon compilation(or update) needed server restart to rerun (updated) ?
make it more clear rs.getString(5)-nowork/"8.9"-work
if I insert
rs.getString(5) // field5 = currency field MS-Access DB
it doesn't work, but if insert
"8.9"
work in value of hidden field , where error ?
out.println("<input type=\"hidden\" name=\"price" + plantNo + "\" value=\"" + rs.getString(5) + "\">"); // "8.9"
1 Attachment(s)
I include servlet, get data from:this is textbook problem (self solve not instructed)
Please answer asap.... this is textbook problem (self solve not instructed)...
I include[attach] whole servlet, get data from:
<body>
<form action="/Webdbt/flowerpower" method="get">
<p>
<h3>Choose your favorite color and click Submit Answer!!</h3>
<select name="choiceColor">
<option value="Peach">Peach</option>
<option value="Pink">Pink</option>
...............................................
MS-ACCESS DATABASE and field:5, is of currency type. UNDER TOMCAT.