0

I have Html table and I want to convert it to java array. Table looks like this:

<html>
<body>
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
</body>
</html>

I want to It looked like this in java:

num[1] = row 1, cell 1

num[2] = row 1, cell 2

num[3] = row 2, cell 1

num[4] = row 2, cell 2

How?

0 Answers0