📄 showtopicaction.java
字号:
public class ShowTopicAction extends Action {
DBTopicFactory fa= getInstantce();
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
int topicId = Integer.Parse(request.getParameter("topicId"));
DBTopicFactory fa= getInstantce();
Topic topic=fa.listTopic(topicId);
request.setAttribute("topic",topic);
return (mapping.findForward("showTopic"));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -