0
如何发送html表到servlet到jsp?将html表发送到servlet到jsp
在我的Action类中,我有一张表,我想将这张表发送给我的jsp,其编号为request.setAttributes("table",tableHtml);
。
如何发送html表到servlet到jsp?将html表发送到servlet到jsp
在我的Action类中,我有一张表,我想将这张表发送给我的jsp,其编号为request.setAttributes("table",tableHtml);
。
如果使用上面的setAttribute你可以像这样在JSP检索:
<%= ((String)request.getAttribute("table"))%>
THX您的答复;) – Mercer 2010-08-18 14:26:08