才学struts有个小疑问:
页面: <html:link page="/point.do?place=A">1.jsp</html:link>
struts-config.xml: <action path="/point" type="com.xur.struts.doaction.action">
action类: String go = (String)request.getParameter("place");获得页面传递来的参数,这个
servlet为什么不用在web.xml中注册呢?
页面: <html:link page="/point.do?place=A">1.jsp</html:link>
struts-config.xml: <action path="/point" type="com.xur.struts.doaction.action">
action类: String go = (String)request.getParameter("place");获得页面传递来的参数,这个
servlet为什么不用在web.xml中注册呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货