摘要:
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> 这 阅读全文
posted @ 2018-05-08 23:28
IT刑天
阅读(105)
评论(0)
推荐(0)
摘要:
在spring.xml配置了这个标签后,spring可以自动去扫描base-pack下面或者子包下面的java文件,如果扫描到有@Component @Controller@Service等这些注解的类,则把这些类注册为bean 注意:如果配置了<context:component-scan>那么< 阅读全文
posted @ 2018-05-08 21:47
IT刑天
阅读(328)
评论(0)
推荐(0)