我查找News里面 id 和 theme
public String ShowTheme(){
String hql="select s.id,s.theme from News s";
this.newsService.FindByExample(hql);
return SUCCESS;
}
然后我要在JSP 显示 一个主题 然后点击这个主题 通过下面
public String FindNews() {
this.newsService.Find(news.getId());
return SUCCESS;
}
在这个JSP中如何实现 ? 这2个JSP 如何写。
数据字段如下
private Integer id;
private String username;
private String theme;
private String content;
private Date time;
我用的 最新的SSH 框架真心希望有人回答下~ 感谢!!!