⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _properties.java

📁 一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
package org.apache.jsp;

import java.util.Properties;
import java.util.Iterator;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

/* File Declaration Phase */

public class _properties extends com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase {

  /* Class Declaration Phase */

  static {
    /* Static Initializer Phase */
  }

  public _properties( ) {
  }

  private static boolean _jspx_inited = false;

  private static String _jspx_debug_jspSourceLocation = "/html/propertiesPage/properties.jsp";

  public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    /* Init Method Phase */
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse  response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String  _value = null;
    java.util.Stack _jspxTagObjects = new java.util.Stack();
    /* Service Declaration Phase */
      /* ------  utc:resource ------ */
      com.ibm.etools.utc.ResourceTag _jspx_th_utc_resource_0 = new com.ibm.etools.utc.ResourceTag();

                              try {

                                if (_jspx_inited == false) {
                                  synchronized (this) {
                                    if (_jspx_inited == false) {
                                      _jspx_init();
                                      _jspx_inited = true;
                                    }
                                  }
                                }

                                _jspxFactory = JspFactory.getDefaultFactory();
                                response.setContentType("text/html; charset=utf-8");
                                pageContext = _jspxFactory.getPageContext(this, request, response,
                                			"/error.jsp", true, 8192, true);

                                application = pageContext.getServletContext();
                                config = pageContext.getServletConfig();
                                session = pageContext.getSession();
                                out = pageContext.getOut();

                                /* Service Method Phase */

                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(0,0);to=(9,0)]
                                  out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n\r\n<!--\r\n Licensed Material - Property of IBM \r\n (C) Copyright IBM Corp. 2001 - All Rights Reserved. \r\n US Government Users Restricted Rights - Use, duplication or disclosure \r\n restricted by GSA ADP Schedule Contract with IBM Corp. \r\n-->\r\n\r\n");

                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(9,122);to=(10,0)]
                                  out.write("\r\n");

                                // end
                                // ##DEBUG## "/html/propertiesPage/properties.jsp" 11,0-"/html/propertiesPage/properties.jsp" 11,85
                                  com.ibm.etools.utc.view.JNDIInfo jndiInfo = null;
                                  boolean _jspx_specialjndiInfo  = false;
                                   synchronized (session) {
                                    jndiInfo= (com.ibm.etools.utc.view.JNDIInfo)
                                    pageContext.getAttribute("jndiInfo",PageContext.SESSION_SCOPE);
                                    if ( jndiInfo == null ) {
                                      _jspx_specialjndiInfo = true;
                                      try {
                                        jndiInfo = (com.ibm.etools.utc.view.JNDIInfo) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.ibm.etools.utc.view.JNDIInfo");
                                      } catch (ClassNotFoundException exc) {
                                         throw new InstantiationException(exc.getMessage());
                                      } catch (Exception exc) {
                                         throw new ServletException (" Cannot create bean of class "+"com.ibm.etools.utc.view.JNDIInfo", exc);
                                      }
                                      pageContext.setAttribute("jndiInfo", jndiInfo, PageContext.SESSION_SCOPE);
                                    }
                                   } 
                                  if(_jspx_specialjndiInfo == true) {
                                // end
                                // ##DEBUG## "/html/propertiesPage/properties.jsp" 11,0-"/html/propertiesPage/properties.jsp" 11,85
                                  }
                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(10,85);to=(11,0)]
                                  out.write("\r\n");

                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(11,37);to=(21,9)]
                                  out.write("\r\n\r\n<html>\r\n<head>\r\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n  <meta http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n  <meta http-equiv=\"Pragma\" content=\"no-cache\">\r\n  <meta http-equiv=\"Cache-Control\" content=\"no-cache\">\r\n  <meta http-equiv=\"expires\" content=\"0\">\r\n  <link rel=stylesheet type=\"text/css\" href=\"/UTC/css/dynamic.css\">\r\n  <title>");

                                // end
                                // ##DEBUG## ##TAGLIB## "/html/propertiesPage/properties.jsp" 22,9-"/html/propertiesPage/properties.jsp" 22,50
                                  _jspx_th_utc_resource_0.setPageContext(pageContext);
                                  _jspx_th_utc_resource_0.setParent(null);
                                  _jspx_th_utc_resource_0.setKey("propertiesPageTitle");
                                  _jspxTagObjects.push(_jspx_th_utc_resource_0);
                                    int _jspx_eval_utc_resource_0 = _jspx_th_utc_resource_0.doStartTag();
                                  // end
                                  // ##DEBUG## "/html/propertiesPage/properties.jsp" 22,9-"/html/propertiesPage/properties.jsp" 22,50
                                    if (_jspx_th_utc_resource_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                                      return;
                                  ((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(21,50);to=(29,42)]
                                  out.write("</title>\r\n</head>\r\n\r\n<body>\r\n\r\n<div class=\"properties\">\r\n<table cellspacing=0 cellpadding=4 border=0 width=100%>\r\n<form action=\"/UTC/jndiProperties\" method=\"post\" enctype=\"multipart/form-data\">\r\n<input type=\"hidden\" name=\"random\" value=\"");

                                // end
                                // ##DEBUG## "/html/propertiesPage/properties.jsp" 30,45-"/html/propertiesPage/properties.jsp" 30,60
                                  out.print( Math.random() );
                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(29,62);to=(32,34)]
                                  out.write("\"/>\r\n<input type=\"hidden\" name=\"action\" value=\"set\"/>\r\n<tr valign=\"top\">\r\n  <td nowrap><label for=\"factory\">");

                                // end
                                // ##DEBUG## ##TAGLIB## "/html/propertiesPage/properties.jsp" 33,34-"/html/propertiesPage/properties.jsp" 33,84
                                  /* ------  utc:resource ------ */
                                  com.ibm.etools.utc.ResourceTag _jspx_th_utc_resource_1 = new com.ibm.etools.utc.ResourceTag();
                                  _jspx_th_utc_resource_1.setPageContext(pageContext);
                                  _jspx_th_utc_resource_1.setParent(null);
                                  _jspx_th_utc_resource_1.setKey("propertiesPageInitialFactory");
                                  _jspxTagObjects.push(_jspx_th_utc_resource_1);
                                    int _jspx_eval_utc_resource_1 = _jspx_th_utc_resource_1.doStartTag();
                                  // end
                                  // ##DEBUG## "/html/propertiesPage/properties.jsp" 33,34-"/html/propertiesPage/properties.jsp" 33,84
                                    if (_jspx_th_utc_resource_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                                      return;
                                  ((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(32,84);to=(33,95)]
                                  out.write("</label>&nbsp;<span class=\"info\">(INITIAL_CONTEXT_FACTORY)</span></td>\r\n  <td width=55%><input type=\"text\" id=\"factory\" class=\"textenter\" name=\"initialFactory\" value=\"");

                                // end
                                // ##DEBUG## "/html/propertiesPage/properties.jsp" 34,98-"/html/propertiesPage/properties.jsp" 34,128
                                  out.print( jndiInfo.getInitialFactory() );
                                // end
                                // HTML // begin [file="/html/propertiesPage/properties.jsp";from=(33,130);to=(37,30)]
                                  out.write("\" size=50/></td>\r\n  <td></td>\r\n</tr>\r\n<tr>\r\n  <td nowrap><label for=\"url\">");

                                // end
                                // ##DEBUG## ##TAGLIB## "/html/propertiesPage/properties.jsp" 38,30-"/html/propertiesPage/properties.jsp" 38,77
                                  /* ------  utc:resource ------ */
                                  com.ibm.etools.utc.ResourceTag _jspx_th_utc_resource_2 = new com.ibm.etools.utc.ResourceTag();
                                  _jspx_th_utc_resource_2.setPageContext(pageContext);
                                  _jspx_th_utc_resource_2.setParent(null);
                                  _jspx_th_utc_resource_2.setKey("propertiesPageProviderURL");
                                  _jspxTagObjects.push(_jspx_th_utc_resource_2);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -