コード例 #1
0
 private void _jspInit(javax.servlet.ServletConfig config) {
   _005fjspx_005ftagPool_005fc_005furl_0026_005fvalue_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(config);
   _el_expressionfactory =
       _jspxFactory.getJspApplicationContext(config.getServletContext()).getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(config);
 }
コード例 #2
0
 public void _jspInit() {
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #3
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fkk_005fmsg_0026_005fkey_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #4
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #5
0
 public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
   if (_jsp_instancemanager == null) {
     synchronized (this) {
       if (_jsp_instancemanager == null) {
         _jsp_instancemanager =
             org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(
                 getServletConfig());
       }
     }
   }
   return _jsp_instancemanager;
 }
コード例 #6
0
ファイル: JspServletWrapper.java プロジェクト: imace/coffee
 public void destroy() {
   if (theServlet != null) {
     theServlet.destroy();
     InstanceManager instanceManager = InstanceManagerFactory.getInstanceManager(config);
     try {
       instanceManager.destroyInstance(theServlet);
     } catch (Exception e) {
       // Log any exception, since it can't be passed along
       log.error(Localizer.getMessage("jsp.error.file.not.found", e.getMessage()), e);
     }
   }
 }
コード例 #7
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fform_005fform_0026_005fmethod_005fcommandName_005fclass_005faction =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005finput_0026_005ftype_005fplaceholder_005fpath_005fclass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #8
0
 public void destroy() {
   if (theServlet != null) {
     theServlet.destroy();
     InstanceManager instanceManager = InstanceManagerFactory.getInstanceManager(config);
     try {
       instanceManager.destroyInstance(theServlet);
     } catch (Exception e) {
       Throwable t = ExceptionUtils.unwrapInvocationTargetException(e);
       ExceptionUtils.handleThrowable(t);
       // Log any exception, since it can't be passed along
       log.error(Localizer.getMessage("jsp.error.file.not.found", e.getMessage()), t);
     }
   }
 }
コード例 #9
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005faui_005finput_0026_005fwrap_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #10
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fstripes_005flayout_002drender_0026_005fname =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fstripes_005flayout_002dcomponent_0026_005fname =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fstripes_005fform_0026_005fname_005fid_005faction =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #11
0
ファイル: start_jsp.java プロジェクト: txume/portal
 public void _jspInit() {
   _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #12
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fc_005fchoose =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fotherwise =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #13
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fform_005fform_0026_005fcssClass_005fcommandName =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fcssClass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005ftextarea_0026_005frows_005fpath_005fid_005fclass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005fselect_0026_005fpath_005fclass =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fckeditor_005freplace_0026_005freplace_005fbasePath_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #14
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fchoose =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fotherwise =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }
コード例 #15
0
ファイル: JspServletWrapper.java プロジェクト: imace/coffee
  public Servlet getServlet() throws ServletException {
    // DCL on 'reload' requires that 'reload' be volatile
    // (this also forces a read memory barrier, ensuring the
    // new servlet object is read consistently)
    if (reload) {
      synchronized (this) {
        // Synchronizing on jsw enables simultaneous loading
        // of different pages, but not the same page.
        if (reload) {
          // This is to maintain the original protocol.
          destroy();

          final Servlet servlet;

          try {
            InstanceManager instanceManager = InstanceManagerFactory.getInstanceManager(config);
            servlet = (Servlet) instanceManager.newInstance(ctxt.getFQCN(), ctxt.getJspLoader());
          } catch (IllegalAccessException e) {
            throw new JasperException(e);
          } catch (InstantiationException e) {
            throw new JasperException(e);
          } catch (Exception e) {
            throw new JasperException(e);
          }

          servlet.init(config);

          if (!firstTime) {
            ctxt.getRuntimeContext().incrementJspReloadCount();
          }

          theServlet = servlet;
          reload = false;
          // Volatile 'reload' forces in order write of 'theServlet' and new servlet object
        }
      }
    }
    return theServlet;
  }
コード例 #16
0
 public void _jspInit() {
   _005fjspx_005ftagPool_005ffmt_005fsetBundle_0026_005fvar_005fscope_005fbasename_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005furl_0026_005fvalue_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005fimport_0026_005furl_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fc_005furl_0026_005fvar_005fvalue_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005fform_0026_005fmodelAttribute_005fmethod_005faction =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005finput_0026_005fplaceholder_005fpath_005fid_005fcssClass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _005fjspx_005ftagPool_005fform_005fpassword_0026_005fplaceholder_005fpath_005fid_005fcssClass_005fnobody =
       org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
   _el_expressionfactory =
       _jspxFactory
           .getJspApplicationContext(getServletConfig().getServletContext())
           .getExpressionFactory();
   _jsp_instancemanager =
       org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
 }