• 框架搭建相关


    自动装配(启动Web容器)ApplicationContext的配置信息(实现ServletContextListener接口)

    org.springframework.web.context.ContextLoaderListener  (conf/application.xml)

    统计在线人数(实现HttpSessionListener)

    com.eshore.fssc.web.listener.SessionCountListener

    初始化参数配置(实现ServletContextListener)

    com.eshore.fssc.web.listener.StartListener

    定义request和response编码

    org.springframework.web.filter.CharacterEncodingFilter

    初始化部分参数配置,登陆验证,登陆日志记录等。

    com.eshore.fssc.web.filter.CommonFilter

    structs配置

    org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

    webservice配置

    org.apache.axis2.transport.http.AxisServlet

     dwr-invoker配置

    org.directwebremoting.servlet.DwrServlet

    文件上传配置

     com.eshore.fssc.web.servlet.CosUploadServlet

    在线人数统计输出

    com.eshore.fssc.web.servlet.OnLineUsersServlet

    errpage配置

    <error-page>
      <error-code>500</error-code>
      <location>/WEB-INF/jsp/ErrorPage.jsp</location>
     </error-page>

    自定义控件加载

    <jsp-config>
        <taglib>
            <taglib-uri>/nftax-tags</taglib-uri>
            <taglib-location>/WEB-INF/nftax-tags.tld</taglib-location>
        </taglib>
      </jsp-config>

    定时器配置(计划任务)

    org.springframework.scheduling.quartz.CronTriggerBean

    ajax入口

    render(response, text, "text/x-json;charset=UTF-8");

     response.setContentType(contentType);
     response.setHeader("Cache-Control", "no-cache");
    response.getWriter().write(text);

  • 相关阅读:
    CAP概述与技术选型
    maven基础命令
    那就从头开始吧,哈哈。
    react 小细节
    二分查找法,折半查找原理
    心态很重要
    apache 软件基金会分发目录。
    jquery的基础知识复习()
    jquery的基础知识复习(基础选择器,属性选择器,层级选择器)
    CPP函数类型转换
  • 原文地址:https://www.cnblogs.com/hongfu/p/5252826.html
Copyright © 2020-2023  润新知