springmvc项目目录总结

src
 main
    java
     com.x.x
      sys
       action(在controller中调用,下一层是service)
       controller
       filter
       interceptor(拦截器)
       log
       mapper(包含xml文件)
       model(javabean)
       service(其中有接口与impl文件夹,调用的Dao在jar包中)
       shiro.security
       util
      timer(定时任务相关)
      webservice

    resources
     cache(ehcache.xml)
     context(context-shiro.xml)
     mybatis(mybatis-config.xml)
     properties
     web(springmvc-servlet.xml)

    webapp
     static
      css
      images
      js
     WEB-INF
      tlds(描述c:if等标签用)
      view(包含index.jsp,使用static下的css、js、images)
      web.xml(指向resources中的web/springmbc-servlet.xml等)

 test(路径测试用java文件)
 

posted @   codeToSuccess  阅读(465)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示