spring mvc 学习一

spring mvc 学习一_第1张图片


The  <servlet-name>  given  to  the  servlet  is  significant.  By  default,  when  Dis-
patcherServlet  is  loaded,  it  will  load  the  Spring  application  context  from  an
XML file whose name is based on the name of the servlet. In this case, because the
servlet is named roadrantz, DispatcherServlet will try to load the application
context from a file named roadrantz-servlet.xml.

 

Working with multiple handler mappings:

<bean id="beanNameUrlMapping" class="org.springframework.web.
       ? servlet.handler.BeanNameUrlHandlerMapping">
  <property name="order"><value>1</value></property>
</bean>

 

image

 

spring in action 544页

明天看一下这个帖子:http://www.gridshore.nl/2009/01/27/injecting-domain-objects-with-spring/

还有:

http://chanwook.wordpress.com/2007/11/25/is-domain-object-need-to-declare-to-spring-bean/

还有:

http://blog.springsource.com/2008/01/23/new-improvements-in-domain-object-dependnecy-injection-feature/

你可能感兴趣的:(spring,mvc,学习,职场,休闲)