zoukankan      html  css  js  c++  java
  • 框架搭建相关

    自动装配(启动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);

  • 相关阅读:
    2019ICPC徐州 H.Yuuki and a problem
    wprintf 输出中文
    bit数组
    Vs2010 Atl工程手工添加连接点
    dll非模态窗口不响应按钮消息
    VC中给控件添加ToolTip
    在Dialog中添加工具条
    在Dialog中添加状态栏
    Vc添加快捷键
    在VC中调用COM组件的方法
  • 原文地址:https://www.cnblogs.com/hongfu/p/5252826.html
Copyright © 2011-2022 走看看