[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Raveesh Lawrance wrote:ok Thanks. Please help me how to store table values in DB
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Raveesh Lawrance wrote:jsp file - That contains table with 3 Row values and one submit button, while clicking the submit button all the table values should pass to java class file using server.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Raveesh Lawrance wrote:Sorry i think you are misunderstood wht im trying to say.
Here is my coding.
<table>
<tr align="center">
<td align="center" style="width:300px;"> Flag Name_1 </td>
<td align="center" style="width:300px;"> 1 </td>
<td align="center" style="width:300px;"> Flag Notes_1 </td>
</tr>
<tr align="center">
<td align="center" style="width:300px;"> Flag Name_2 </td>
<td align="center" style="width:300px;"> 2 </td>
<td align="center" style="width:300px;"> Flag Notes_2 </td>
</tr>
</table>
<input style="background-color:010280; color:white" type="Submit" name="commit" value="Commit">
I want to pass all these table datas into java class while clicking the commit button
Dhruva
dhruva mistry wrote:
you can put javascript for onSubmit event besides the <form> just call a method to take the value of needed fields and
in java class you can set the values
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:
dhruva mistry wrote:
you can put javascript for onSubmit event besides the &lt;form&gt; just call a method to take the value of needed fields and
in java class you can set the values
How?
class MyBean extends ActionForm
{
String flagNameOne;
String flagNameValue;
.
.
// other properties
// getter/setter here
}
Dhruva
dhruva mistry wrote:
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Consider Paul's rocket mass heater. |