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

📄 _newlocation.java

📁 利用jsp
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

/* File Declaration Phase */

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

  /* Class Declaration Phase */

  static {
    /* Static Initializer Phase */
  }

  public _newLocation( ) {
  }

  private static boolean _jspx_inited = false;

  private static String _jspx_debug_jspSourceLocation = "/admin/newLocation.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 */

    try {

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

      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=GB18030");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"", true, 8192, true);

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

      /* Service Method Phase */

      // HTML // begin [file="/admin/newLocation.jsp";from=(0,0);to=(3,0)]
        out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n<HTML>\r\n<HEAD>\r\n");

      // end
      // HTML // begin [file="/admin/newLocation.jsp";from=(7,2);to=(86,0)]
        out.write("\r\n<META http-equiv=\"Content-Type\" content=\"text/html; charset=GB18030\">\r\n<META name=\"GENERATOR\" content=\"IBM WebSphere Studio\">\r\n<META http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n<LINK href=\"../theme/Master.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<TITLE>增加景点</TITLE>\r\n<style type=\"text/css\">\r\n<!--\r\n.STYLE1 {\r\n\tfont-family: \"宋体\";\r\n\tfont-size: large;\r\n}\r\n-->\r\n</style>\r\n</HEAD>\r\n<script language=\"javascript\">\r\nfunction manageland()\r\n{\r\nif(newviewpoint.id.value ==\"\")\r\n{\r\nalert(\"id不能为空!\");\r\nnewviewpoint.id.focus();\r\nreturn false;\r\n}\r\nif(newviewpoint.name.value ==\"\")\r\n{\r\nalert(\"名称不能为空!\");\r\nnewviewpoint.name.focus();\r\nreturn false;\r\n}\r\nif(newviewpoint.location.value ==\"\")\r\n{\r\nalert(\"地点不能为空!\");\r\nnewviewpoint.location.focus();\r\nreturn false;\r\n}\r\n}\r\n</script>\r\n<BODY>\r\n<table width=\"980\" height=\"700\" border=\"0\" background=\"/Web/image/Admin/P_admin_bg.gif\">  \r\n<td>\r\n<h1 class=\"STYLE1\">\r\n  增加景点</h1>\r\n  <label>ID:\r\n  <input type=\"text\" name=\"id\" />\r\n  </label>\r\n (如zhanjiang_huguang)  \r\n <p>\r\n   <label>名称:\r\n   <input type=\"text\" name=\"name\" />\r\n   </label>\r\n (如湖光岩)</p>\r\n <p>\r\n   <label>地点:\r\n   <input type=\"text\" name=\"location\" />\r\n   </label>\r\n (如湛江)</p>\r\n <p>\r\n <p>\r\n   <label>\r\n   <div align=\"justify\">描述:\r\n     <textarea name=\"des\" rows=\"8\"></textarea>\r\n   </div>\r\n   </label>\r\n (说明文字)</p>\r\n <p>\r\n   <label>\r\n    <input type=\"submit\" name=\"manage_submit\" value=\"确定\" />\r\n   </label>\r\n   <label>\r\n   <input type=\"reset\" name=\"manage_reset\" value=\"取消\" />\r\n   </label>\r\n </p>\r\n </td>\r\n</table>\r\n\r\n\r\n</BODY>\r\n</HTML>\r\n");

      // end

    } catch (Throwable t) {
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      while (_jspxTagObjects.empty() == false){
        ((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
      }
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

      /* Service Finally Phase */
    }
  }
  public static String[][] _jspx_debug_FileMapping = {
  {
  "/admin/newLocation.jsp", 
  },
  {
  "0", 
  },
  };
  public static String[][] _jspx_debug_LineMapping = {
  {
  "0", 
  },
  {
  "1", 
  },
  };
}

⌨️ 快捷键说明

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