我正做一个Struts2与Hibernate整合的作业,数据表的字段有id,title(标题),content(内容),现在我已经实现了数据的入库,也可以将表中的所有title显示成列表。 但现在要给title添加超链接,要求点击某个标题后,打开一个页面显示该标题对应的content,我怎么也想不出来怎么添加,是否用地址传id值? 下面是显示标题的一段代码: <table border="1" width="39%"> <tr style="background-color:#bbb666"> <th width="50%">新闻标题</th> <th width="50%">发布时间</th> </tr> <s:iterator value="registers" id="register"> <tr> <td><a href="/look.jsp"><s:property value="#register.title"/></a></td> <td><s:property value="#register.issue_time"/></td> </tr> </s:iterator> </table> look.jsp页面用来显示对应标题的内容,现在如何做才能从look.jsp页面中知道你是点击了哪个标题?