亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? naviservlet.java

?? mapxtreme for java 的開發(fā)實(shí)例
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
package mxtj45;////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// declare imports////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// J2SE 1.3.1 importsimport java.io.IOException;import java.io.PrintWriter;import java.util.Enumeration;// J2EE 1.3.1 importsimport javax.servlet.*;import javax.servlet.http.*;// mxtj45. importsimport java.awt.*;import com.mapinfo.mapj.*;import com.mapinfo.mapxtreme.client.*;import com.mapinfo.util.*;import com.mapinfo.xmlprot.mxtj.*;////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// top-level public class/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////** * simple servlet that performs zoom / pan operations on an MDF file defined * map, such that all map images are stored on the webserver as GIF files in a * publicly accessible context directory, and client state is maintained in * a servlet session with session ID values being conveyed via URL rewriting. * * @author John Dove, MapInfo Technical Support Department, 2002 */public class NaviServlet extends HttpServlet{  //////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////  // fields  //////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////  //----------------------------------------------------------------------------  // static fields loaded as servlet initialization parameters  //----------------------------------------------------------------------------  /**   * absolute path of MDF file to load into all MapJ object.   */  // REQUIRED IN WEB.XML  static private String m_mdfFileToLoad;  /**   * url of the MapXtremeJava 4.5 servlet that is used for remote rendering.   */  // REQUIRED IN WEB.XML  static private String m_urlOfMapXtremeServlet;  /**   * directory to create GIF files in on webserver machine.  These GIF images   * will be referred to by URL links within the HTML documents returned to   * clients.   */  // REQUIRED IN WEB.XML  static private String m_imageDirectory;  /**   * flag that indicates if all the servlet initialization parameters were   * loaded upon servlet startup.   */  static boolean m_allInitParamsLoaded;  //----------------------------------------------------------------------------  // names of HTTP parameters that can be sent by client  //----------------------------------------------------------------------------  /**   * identifier for the http param that denotes the "type" of request sent by   * a client.   */  static private String m_param_requestType = "action";  /**   * holds X-axis value of mouse click made by client on the map.   */  static private String m_param_screenClickX = "map.x";  /**   * holds Y-axis value of mouse click made by client on the map.   */  static private String m_param_screenClickY = "map.y";  /**   * http param value that denotes zoom-in operation.   */  static private String m_requestZoomIn = "zin";  /**   * http param value that denotes zoom-out operation.   */  static private String m_requestZoomOut = "zout";  /**   * http param value that denotes pan operation.   */  static private String m_requestPan = "pan";  //----------------------------------------------------------------------------  // static fields with names for session stored objects  //----------------------------------------------------------------------------  /**   * name assigned to MapJ object when stored to session.   */  static private String m_sessionNameForMapJ = "mapj";  /**   * will be accessed via a synchronized code block to provide unique   * incrementing long values on a per client-request basis   */  static private long sequenceNumber;  // defaults to zero  //////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////  // methods  //////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////  public void init() throws ServletException  {    System.out.println("NAVI SERVLET INITIALIZING...");    // assume that all initialization parameters will NOT be loaded    NaviServlet.m_allInitParamsLoaded = false;    //--------------------------------------------------------------------------    // read the following initialization parameters, which should all be defined    // in the deployment descriptor (web.xml) file of the web application that    // this servlet is a part of.    //    // 1. mdfFileToLoad    // 2. urlOfMapXtremeServlet    //    // if any of these parameters are NOT obtained, we will throw an exception.    //--------------------------------------------------------------------------    m_mdfFileToLoad = this.getInitParameter("mdfFileToLoad");    m_urlOfMapXtremeServlet = this.getInitParameter("urlOfMapXtremeServlet");    m_imageDirectory = this.getInitParameter("imageDirectory");    System.out.println("");    System.out.println("SERVLET INIT PARAMETERS:");    System.out.println("  mdfFileToLoad = ["+m_mdfFileToLoad+"]");    System.out.println("  urlOfMapXtremeServlet = ["+m_urlOfMapXtremeServlet+"]");    System.out.println("  imageDirectory = ["+m_imageDirectory+"]");    System.out.println("");    if (m_mdfFileToLoad == null)    {      throw new ServletException("init param [mdfFileToLoad] was null.");    }    else if (m_urlOfMapXtremeServlet == null)    {      throw new ServletException("init param [urlOfMapXtremeServlet] was null.");    }    else if (m_imageDirectory == null)    {      throw new ServletException("init param [imageDirectory] was null.");    }    // if we made it here, it means all the needed init params were obtained    NaviServlet.m_allInitParamsLoaded = true;  }  /**   * handles HTTP GET requests.  This method will execute in a separate thread   * within the servlet container's JVM.   *   * @param req an HttpServletRequest object that contains the request the   *        client has made of the servlet   * @param resp an HttpServletResponse object that contains the response the   *        servlet sends to the client   * @throw java.io.IOException if an input or output error is detected when   *        the servlet handles the GET request   * @throw ServletException if the request for the GET could not be handled   *   */  protected void doGet(HttpServletRequest req, HttpServletResponse resp)  throws ServletException,java.io.IOException  {    this.doPost(req,resp);  }  /**   * handles HTTP POST requests.  This method will execute in a separate thread   * within the servlet container's JVM.   *   * @param req an HttpServletRequest object that contains the request the   *        client has made of the servlet   * @param resp an HttpServletResponse object that contains the response the   *        servlet sends to the client   * @throw java.io.IOException if an input or output error is detected when   *        the servlet handles the request   * @throw ServletException - if the request for the POST could not be handled   */  protected void doPost(HttpServletRequest req,HttpServletResponse resp)  throws ServletException,java.io.IOException  {    String httpParam_requestType = null;  // http param sent by client    String httpParam_clickX = null;       // http param sent by client    String httpParam_clickY = null;       // http param sent by client    HttpSession clientSession = null;     // client's session object    MapJ mapj = null;                     // client's map-state object    try    {      // throw exception if NOT all servlet init params were loaded on startup.      // since this is the case, NO response will be sent back to the client.      if (!NaviServlet.m_allInitParamsLoaded)      {        throw new ServletException("SOME SERVLET INIT PARAMS ARE MISSING.");      }      // read http parameters sent by client      httpParam_requestType = req.getParameter(NaviServlet.m_param_requestType);      httpParam_clickX = req.getParameter(NaviServlet.m_param_screenClickX);      httpParam_clickY = req.getParameter(NaviServlet.m_param_screenClickY);      //------------------------------------------------------------------------      // if NO request type http param was sent, we will assume this is the      // client's FIRST request to this servlet      //------------------------------------------------------------------------      if (httpParam_requestType == null)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区最好精华液| 国产99一区视频免费| 国产在线精品免费| 91在线精品一区二区| 精品日韩一区二区三区免费视频| 国产精品不卡在线观看| 精品一区二区三区在线观看| 麻豆成人91精品二区三区| 国产精品2024| 欧美性色欧美a在线播放| 久久伊99综合婷婷久久伊| 亚洲老妇xxxxxx| 久久99国产精品麻豆| 国产精一区二区三区| 欧美日韩国产高清一区二区| 久久久久久久久久久电影| 亚洲成人综合网站| 国产福利不卡视频| 678五月天丁香亚洲综合网| 国产日韩在线不卡| 天堂资源在线中文精品| 99免费精品视频| 国产精品欧美一级免费| 韩国三级在线一区| 欧美成va人片在线观看| 一区二区三区不卡视频在线观看| 国产一区视频导航| 欧美精品久久天天躁| 亚洲啪啪综合av一区二区三区| 国内国产精品久久| 欧美一区二区久久| 亚洲国产sm捆绑调教视频| 99精品视频一区二区三区| 精品久久久久久久久久久院品网| 一区二区三区视频在线观看| 国产高清不卡二三区| 欧美一区二区三区免费视频 | 精品精品国产高清一毛片一天堂| 国产精品免费视频一区| 久久国产综合精品| 欧美日韩精品一区二区天天拍小说 | 亚洲成a人片在线观看中文| 理论片日本一区| 欧美日韩精品一区二区三区 | 色天天综合色天天久久| 国产精品日日摸夜夜摸av| 国产麻豆精品95视频| 国产午夜亚洲精品羞羞网站| 久久99精品国产麻豆婷婷 | 欧美日韩一区二区电影| 一区免费观看视频| av网站免费线看精品| 久久久亚洲精华液精华液精华液| 亚洲午夜影视影院在线观看| 欧美日本韩国一区二区三区视频| 麻豆成人av在线| 欧美激情在线免费观看| 一本色道a无线码一区v| 亚洲柠檬福利资源导航| 在线观看亚洲精品| 午夜精品久久一牛影视| 欧美精品第一页| 精品一区二区三区影院在线午夜| 日韩精品在线网站| 国产成人aaa| 亚洲精品乱码久久久久久 | 日韩欧美国产三级| 亚洲大片一区二区三区| 欧美成人一区二区三区| 国产伦理精品不卡| 国产精品久久久久四虎| 日本精品裸体写真集在线观看| 亚洲小说春色综合另类电影| 9191精品国产综合久久久久久 | 欧美刺激脚交jootjob| 成+人+亚洲+综合天堂| 国产精品国产三级国产普通话蜜臀| 不卡的av中国片| 肉色丝袜一区二区| 久久久久九九视频| 欧美在线观看视频一区二区| 蜜臀av性久久久久av蜜臀妖精| 欧美成人一区二区三区在线观看| 久久成人av少妇免费| 欧美激情在线一区二区三区| 在线观看91精品国产入口| 美女免费视频一区二区| 亚洲日本成人在线观看| 欧美大黄免费观看| 高清日韩电视剧大全免费| 亚洲精品久久嫩草网站秘色| 日韩精品一区二区三区三区免费| 成人动漫视频在线| 一区二区三区四区av| 精品久久久久久久人人人人传媒 | 成人18视频在线播放| 一区二区三区波多野结衣在线观看| 欧美精品18+| av电影在线不卡| 奇米一区二区三区| 亚洲精品免费电影| 国产欧美日韩激情| 51精品视频一区二区三区| gogo大胆日本视频一区| 蜜臀va亚洲va欧美va天堂| 精品国一区二区三区| 91在线一区二区三区| 国产毛片精品视频| 日韩中文字幕1| 亚洲黄网站在线观看| 久久久99久久精品欧美| 欧美一级视频精品观看| 成人av动漫在线| 免费人成精品欧美精品| 三级欧美在线一区| 亚洲一区二区欧美日韩| 精品捆绑美女sm三区| 日本道色综合久久| www.色综合.com| 成人理论电影网| 成人性视频免费网站| 国产一区二区三区四区五区美女| 午夜视黄欧洲亚洲| 亚洲一本大道在线| 亚洲国产精品综合小说图片区| 国产精品福利影院| 国产日产欧美一区二区三区| 久久亚洲私人国产精品va媚药| 日韩亚洲国产中文字幕欧美| 91精品国产综合久久婷婷香蕉| 欧美探花视频资源| 成人久久久精品乱码一区二区三区 | 精品一区二区在线免费观看| 日韩激情一区二区| 日韩av一级电影| 日韩国产一二三区| 午夜精品久久久久久| 五月天婷婷综合| 亚洲超碰精品一区二区| 午夜伦理一区二区| 蜜臀av一级做a爰片久久| 久久精品国产精品亚洲红杏| 蜜臀精品久久久久久蜜臀| 国精产品一区一区三区mba桃花| 蜜桃一区二区三区四区| 国内精品在线播放| 成人sese在线| 国产91在线|亚洲| 99re亚洲国产精品| 91久久精品一区二区二区| 欧美性极品少妇| 欧美一区二区日韩| 欧美刺激午夜性久久久久久久| 精品成人一区二区三区| 国产欧美一区二区在线观看| 亚洲国产激情av| 国产精品久久久久四虎| 亚洲精品网站在线观看| 亚洲女厕所小便bbb| 视频一区二区中文字幕| 国产一区 二区| 不卡视频一二三| 欧美精品黑人性xxxx| 国产亚洲va综合人人澡精品| 自拍偷自拍亚洲精品播放| 日韩精品免费专区| 国产成人精品aa毛片| 日本韩国欧美一区二区三区| 亚洲人成电影网站色mp4| 粉嫩aⅴ一区二区三区四区| 国产一区二区三区电影在线观看| 美女一区二区三区| 国产不卡免费视频| 国产一区二区三区电影在线观看| 国产不卡在线播放| 美女www一区二区| 91网站黄www| 2020国产精品自拍| 午夜欧美视频在线观看| youjizz国产精品| 精品国产电影一区二区| 亚洲gay无套男同| www.欧美精品一二区| 久久久久88色偷偷免费| 久久成人综合网| 51精品久久久久久久蜜臀| 一区二区三区欧美在线观看| www.日韩精品| 中文字幕不卡的av| 风间由美一区二区av101| 日韩欧美一卡二卡| 日日夜夜一区二区| 欧美片在线播放| 亚洲午夜三级在线| 欧美亚洲丝袜传媒另类| 亚洲摸摸操操av| 91色在线porny| 亚洲女爱视频在线| 色噜噜狠狠成人中文综合| 日韩理论片在线|