才学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中注册呢?

解决方案 »

  1.   

    servlet 已经在 struts-config.xml 注册了
      

  2.   

    struts-config.xml:          <action path="/point" type="com.xur.struts.doaction.action"> 这句话 相当于 注册 servlet
      

  3.   

    struts 是从selevt发展而来得。你在web.xml中注册了struts-config就不用再注册selevt了,因为你在struts-config中注册了
      

  4.   

    因为所有的servlet请求都转成.do请求了
      

  5.   

    核心类 已注册到web.xml文件中了呀