请问各位大哥,如何动态生成表头?
我在1.jsp这张网页中有5个checkbox。
<input type=checkbox name=cbx1>1<p>
<input type=checkbox name=cbx2>2<p>
<input type=checkbox name=cbx3>3<p>
<input type=checkbox name=cbx4>4<p>
<input type=checkbox name=cbx5>5<p>
在不同的选择之后要生成不同的表头。如:我选择了1,2。要在2.jsp中生成一张表。它的表头就是:
1 2
如选择了1,2,3。那么他的表头就是:
1 2 3
请问各位该如何实现?谢谢!!