whether i have to modify my javabean class.
How can relate property message in javabean class?
What will be wrong with my code?
<table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
....
.
.
<td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>
<% message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
.
.
.
message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
.
.
.
<% message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";%>
<input type="hidden" name="message" value="<%=message%>">
String s1 = request.getParameter("to"); String s2 = request.getParameter("from"); //String s3 = request.getParameter("sub"); String s4 = request.getParameter("message");
I am getting ouput as hole data available in table with html tag like <td></tr><table> .I am expecting output available in table format which is i am displaying in above page.