Send html table to a servlet to a jsp
How can I send html table to a servlet to a jsp?
In my Action class I have a table I want to send this table to my jsp with a request.set开发者_如何学JAVAAttributes("table",tableHtml);
.
If using the above setAttribute you can retrieve it in a JSP like so:
<%= ((String)request.getAttribute("table"))%>
精彩评论