struts2的action中可以通过seter、geter方法讲属性传给jsp页面
如: public String list(){
tflashCard=tflashCardMng.getTflashCardByIds("select t from TflashCard t where fLabel2 = ? order by fTime desc",fID, pageNo, pageSize);
return "list";
}这样可以讲tflashCard传到jsp中 ,但是我想把参数中fID也给传过去改怎么传
注:fID在action里面也有geter、seter方法,即可以从jsp页面将fID传递到action中,就是不知道怎么讲fID从action传递到list指定的页面去。望高手指教。谢谢大家了
如: public String list(){
tflashCard=tflashCardMng.getTflashCardByIds("select t from TflashCard t where fLabel2 = ? order by fTime desc",fID, pageNo, pageSize);
return "list";
}这样可以讲tflashCard传到jsp中 ,但是我想把参数中fID也给传过去改怎么传
注:fID在action里面也有geter、seter方法,即可以从jsp页面将fID传递到action中,就是不知道怎么讲fID从action传递到list指定的页面去。望高手指教。谢谢大家了
除了java代码我大小写敏感外 看来其他的都不是很敏感啊
谢谢楼上的哦 问题解决。