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

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

?? conf-servlet.xtp

?? 解壓在c盤
?? XTP
字號(hào):
<title>Servlet Configuration</title><p/>Resin configuration is based on the <var/resin.conf/> file locatedin <var/resin1.2.x/conf/resin.conf/>.  It's XML-based, although itallows for some non-XML laziness like omitting quotes from attributes.<p/>The application configuration is based on the Servlet 2.2deployment descriptor.<p/>The configuration file parses into a (key, value) structure.  LISPfans will recognize it as similar to an A-list and Windows fans willrecognize it as similar to the NT registry.  Unlike either, though,multiple items with the same key are allowed.<p/><note>Because the internal format has less structure than XML does,you can use either an element-based configuration or anequivalent attribute-based configuration.  You should use whicheverconfiguration simplifies your maintenance.  The following example usesthe element-based configuration exclusively.</note><example title="resin.conf">&lt;caucho.com>&lt;http-server app-dir='doc'>  &lt;http port='8080'/>  &lt;host id=''>    &lt;web-app id='/test'/>  &lt;/host>&lt;/http-server>&lt;/caucho.com></example><example title="web.xml">&lt;web-app>  &lt;servlet servlet-name='hello'           servlet-class='test.HelloServlet'>    &lt;init-param greeting='Hello, world'/>  &lt;/servlet>  &lt;servlet-mapping url-pattern='/hello'                   servlet-name='hello'/>  &lt;servlet-mapping url-pattern='/prefix/*'                   servlet-name='hello'/>  &lt;servlet-mapping url-pattern='*.hello'                   servlet-name='hello'/>&lt;/web-app></example><subsection>  <title><a href="../ref/resin-config.xtp">caucho.com</a></title>The Resin configuration file is based on XML.  The<var/&lt;caucho.com>/> element encapsulates the entireconfiguration file.</subsection><subsection>  <title><a href="../ref/resin-config.xtp#http-server">http-server</a></title>Each resin.conf contains a single <var/&lt;http-server>/> element thatcontains the configuration for the web server and servlet engine.  Allconfiguration outside the <var/http-server/> is non-server specific.For example, debug logging configuration and Java compilerconfiguration belongs outside the <var/http-server/> element.<p/>Despite its name, <var/http-server/> contains configuration forthe standalone HTTP server and the servlet runner.  In fact, you canlisten to multiple HTTP and servlet runner ports in the name<var/http-server/>.<p/>In the current version of Resin only allows a single <var/http-server/>.</subsection><subsection>  <title><a href="../ref/app-config.xtp#app-dir">app-dir</a></title><var/app-dir/> configures the application directory, which containsthe documents, the servlets, the bean classes, and some extraconfiguration files like web.xml and taglib.tld.  For many, theapp-dir is the most important configuration.  For example, if you'reusing Apache or IIS, you'll change app-dir to point to the Apachehtdocs or the IIS inetpub/wwwroot.<p/><var/app-dir/> can be used in the http-server, as above, in the host andin the web-app.  If unspecified, it defaults to the directory of theenclosing block.<p/>The sample resin.conf in the distribution points to anapp-dir <var/doc/>.  If you start Resin from the distribution, you canput a hello.jsp in <var/resin1.2.x/doc/hello.jsp/> and you'll view itfrom a browser using <var/http://localhost:8080/hello.jsp/>.<p/>Application servlets and classes belong in <var/WEB-INF/classes/> and jarsbelong in <var/WEB-INF/lib/>.  Resin will automatically reload a classplaced in either location.  External jars, for example a databasedriver, should be put in <var/resin1.2.x/lib/> instead.<p/>The <var/WEB-INF/> directory is hidden by the web server.  So, itis not possible for a browser to look at anything in that directory.<p/><b>Note: JNI</b>.  Because of the way Java handles JNI, you shouldplace the Java <var/native/> classes outside the <var/WEB-INF/>directories, putting them in <var/resin1.2.x/lib/> or<var/resin1.2.x/classes/> instead.  That means you'll need to restartResin when you change those classes, so you should only put theinterface classes outside WEB-INF.</subsection><subsection>  <title><a href="../ref/http-config.xtp#http">http</a></title>In Resin 1.2, you must specify each port and protocol for the webserver.  In the example, Resin will listen to port 8080 using theHTTP protocol.  Earlier versions of Resin would listen to port 8080 bydefault.<p/>Configurations using Resin as a servlet runner for another webserver will use an <a href="../ref/http-config.xtp#srun">srun</a> tagto listen for the servlet runner.<p/>Resin 1.2 allows multiple <var/http/> and <var/srun/> tags.  Avirtual host configuration might use separate <var/http/> tags foreach IP interface on the server.  A load balancing configuration willuse several <var/srun/> tags, each representing a different backendserver, and selected by the <a href="../ref/http-config.xtp#srun">id</a> attribute.</subsection><subsection>  <title><a href="../ref/http-config.xtp#host">host</a></title>The <var/host/> element contains configuration for a virtual host.The virtual host with <var/id=''/> is the default virtual host.  IfResin doesn't match any other host, it will use the configuration inthe default virtual host.  This example and most configurations willuse the default virtual host.<p/>To configure a virtual host, just copy the default <var/host/>block and set the <var/id/> attribute to the host name.  You'llprobably want to set the <ahref="../ref/app-config.xtp#app-dir">app-dir</a>for the new virtual hostso it will use a different application directory than the default host.</subsection><subsection>  <title><a href="../ref/http-config.xtp#web-app">web-app</a></title><var/web-app/> (web application) is the core of Resin's jsp andservlet configuration.  Each application has its own class loader,ServletContext variable, and <var/WEB-INF/> directory.web-app uses the same syntax as the servlet 2.2deployment descriptor with a few optional extensions.<p/>The web-app with <var/id='/'/> is the default web application.It's a good idea not to go overboard in creating web-apps.  Mostsites should just use the single default.  Each web-app has itsown <a href="../ref/app-config.xtp#app-dir">app-dir</a>.  Ifunspecified, as in the example, it defaults to the <var/id/> pathbelow the host's app-dir.  A web-app <var/id='foo'/> startsin <var/resin1.2.x/doc/foo/> and the WEB-INF willbe <var/resin1.2.x/doc/foo/WEB-INF/>.</subsection><subsection>  <title><a href="../ref/servlet-config.xtp#servlet">servlet</a></title><p/>Servlet configuration follows the Servlet 2.2 deploymentdescriptor configuration.  The<a href="../ref/servlet-config.xtp#servlet">servlet</a> tag assigns a name to a servlet and specifies its class.  Servlets which needconfiguration will use<a href="../ref/servlet-config.xtp#servlet">init-param</a> to configureservlet parameters.<p/>To actually use a servlet, you'll need to add a<a href="../ref/app-config.xtp#servlet-mapping">servlet-mapping</a> tagfor each servlet.<p/>Each <var/servlet/> tag specifies a separate servlet instance.You can create several servlet instances, each with different initparameters and different names, by creating multiple <var/servlet/>tags.<p/>Servlets and their supporting classes generallybelong in <var/WEB-INF/classes/> or in a jar in <var/WEB-INF/lib/>.A servlet class <var/test.Hello/> would belong in<var/WEB-INF/classes/test/Hello.class/>.Resin will automatically reload the servlets whenthey change.  You can put servlets and their classes in the systemclasspath, for example, <var/resin1.2.x/lib/>, but they will not bereloaded automatically.</subsection><subsection>  <title><ahref="../ref/app-config.xtp#servlet-mapping">servlet-mapping</a></title><p/><var/servlet-mapping/> specifies the URLs that invoke a servlet.The longest match between the URL and all the <var/servlet-mapping/>entries will select the servlet.  If none of the<var/servlet-mapping/> entries match, Resin will serve the URL as astatic file.<p/>With a web-server like Apache, the servlet-mapping entriesdetermine which URLs belong to Resin and which belong to Apache.  Anymatch belongs to Resin and a non-match will belong to Apache.  You canuse the special <var/caucho-status/> URL to look at the mapping.<p/>The <a href="../ref/app-config.xtp#url-pattern">url-pattern</a>specifies the URLs to match.  The four patterns in the Servletspecification are <var/*.foo/>, <var//specific/>, <var//prefix/*/>,and <var///>.<p/>The <var/servlet-name/> in the <var/servlet-mapping/> matches a<var/servlet-name/> in a <var/servlet/>.  As a Resin extension, youcan specify all the <var/servlet/> configuration in the<var/servlet-mapping/> itself, avoiding the double entry.</subsection>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区在线观看视频| 91麻豆精品国产无毒不卡在线观看 | 欧洲精品一区二区| 99精品国产热久久91蜜凸| 国产激情一区二区三区| 丰满放荡岳乱妇91ww| 国产精品一区二区在线观看网站 | 久久蜜桃一区二区| 久久久久国产精品人| 久久亚洲精精品中文字幕早川悠里| 欧美精品一区二区三区四区| 亚洲综合色在线| 亚洲一区二区三区中文字幕 | 日韩一级在线观看| 欧美日韩一区中文字幕| 91精品国产综合久久精品| 欧美一区二区三区四区高清| 欧美成人激情免费网| 久久九九影视网| 日韩毛片在线免费观看| 亚洲一区二区三区四区在线观看 | 久久精品国产一区二区| 美女免费视频一区| 国产宾馆实践打屁股91| 在线观看免费成人| 日韩欧美黄色影院| 中文字幕一区二区三区精华液| 一区二区三区不卡视频| 麻豆精品视频在线观看视频| 丁香另类激情小说| 91在线一区二区三区| 91超碰这里只有精品国产| 久久先锋资源网| 亚洲精品国产a久久久久久 | 国产成人综合亚洲网站| 在线观看亚洲精品视频| 2023国产一二三区日本精品2022| 国产精品成人在线观看| 热久久免费视频| 99精品欧美一区二区蜜桃免费 | 99这里都是精品| 欧美一区二区三区四区在线观看| 国产精品色呦呦| 日韩精品免费视频人成| 成人激情免费电影网址| 884aa四虎影成人精品一区| 国产欧美一区二区在线观看| 亚洲大片免费看| 国产福利一区在线观看| 欧美日本不卡视频| 亚洲人一二三区| 国产ts人妖一区二区| 3d成人动漫网站| 亚洲一区二区三区激情| 97aⅴ精品视频一二三区| 日韩一区二区三区在线观看| 亚洲一级片在线观看| 99riav一区二区三区| 久久久久久久网| 久久国产精品99久久久久久老狼| 欧美私模裸体表演在线观看| 中文字幕中文字幕在线一区| 日本精品免费观看高清观看| 亚洲国产成人午夜在线一区| 激情久久五月天| 日韩一区二区精品| 五月天欧美精品| 欧美乱妇一区二区三区不卡视频| 一区二区三区美女| 91丨九色porny丨蝌蚪| 国产精品传媒视频| jlzzjlzz欧美大全| 中文字幕一区二区三区在线不卡| 成人在线视频一区二区| 欧美国产成人在线| 粉嫩绯色av一区二区在线观看| 久久欧美中文字幕| 岛国精品在线观看| 中文字幕一区二区三区在线观看| 顶级嫩模精品视频在线看| 久久九九久久九九| 成人美女在线视频| 日本一区二区视频在线| 韩国理伦片一区二区三区在线播放| 91精品国产色综合久久久蜜香臀| 男男视频亚洲欧美| 久久免费精品国产久精品久久久久| 久久av资源网| 国产日产欧美一区| 色综合天天综合网国产成人综合天| 亚洲欧洲日韩综合一区二区| 本田岬高潮一区二区三区| 亚洲欧美色综合| 欧美麻豆精品久久久久久| 蜜桃传媒麻豆第一区在线观看| 欧美zozo另类异族| 顶级嫩模精品视频在线看| 亚洲欧美日韩国产综合| 欧美日韩免费观看一区三区| 久久精品噜噜噜成人av农村| 国产欧美精品一区二区三区四区| heyzo一本久久综合| 亚洲国产精品久久艾草纯爱 | 欧美国产精品中文字幕| 色婷婷综合视频在线观看| 亚洲精品国产一区二区精华液| 678五月天丁香亚洲综合网| 国产精品乡下勾搭老头1| 亚洲嫩草精品久久| 日韩免费一区二区| 9人人澡人人爽人人精品| 日本中文字幕一区二区有限公司| 久久久精品国产免费观看同学| 91视视频在线观看入口直接观看www | 国产福利91精品| 国产精品高潮呻吟| 91精品国产手机| 本田岬高潮一区二区三区| 天堂蜜桃一区二区三区| 国产精品久久毛片| 日韩一二在线观看| 色天天综合色天天久久| 韩国在线一区二区| 亚洲韩国精品一区| 欧美激情在线一区二区三区| 在线成人免费观看| 91网页版在线| 高清shemale亚洲人妖| 日韩国产精品久久久| 亚洲色图视频网| 久久久亚洲精品一区二区三区| 欧美日韩在线综合| 91免费国产视频网站| 国产尤物一区二区在线| 日韩综合在线视频| 亚洲一区在线观看视频| 中文字幕在线观看一区二区| 亚洲精品一区在线观看| 777xxx欧美| 精品视频一区二区三区免费| 色综合天天视频在线观看 | 亚洲一区二区三区精品在线| 国产精品视频一二| 国产欧美精品一区aⅴ影院| 精品国产乱码久久久久久老虎| 欧美日韩一区二区电影| 欧美日韩一区二区电影| 欧美日韩一区二区三区四区| 欧美影院一区二区三区| 欧美系列亚洲系列| 色偷偷成人一区二区三区91| 成人av免费观看| 91视频国产观看| 91福利小视频| 91国偷自产一区二区三区观看| 91女神在线视频| 91黄色免费版| 欧美区在线观看| 这里只有精品免费| 欧美电影免费观看高清完整版在| 欧美一级理论性理论a| 日韩三级视频在线看| 久久久不卡网国产精品一区| 欧美精彩视频一区二区三区| 国产精品传媒视频| 亚洲国产一区二区视频| 午夜精品一区在线观看| 日本一区中文字幕| 国产精品一线二线三线| 91视频在线看| 7777精品伊人久久久大香线蕉超级流畅| 欧美高清视频不卡网| 精品美女在线播放| 中文字幕一区二区三中文字幕| 亚洲美女区一区| 蜜桃在线一区二区三区| 福利电影一区二区| 欧美日韩精品系列| 久久亚洲精品小早川怜子| 亚洲人成精品久久久久| 日韩av不卡一区二区| 东方欧美亚洲色图在线| 欧美日免费三级在线| 国产亚洲婷婷免费| 亚洲h动漫在线| 国产精品 日产精品 欧美精品| 99精品国产91久久久久久| 欧美一区二区福利视频| 国产精品国产三级国产普通话三级| 一区二区欧美国产| 国产在线视频一区二区三区| 99在线精品观看| 欧美一级片免费看| 亚洲欧洲无码一区二区三区| 蜜臀久久久99精品久久久久久| 91在线视频免费观看| 久久综合成人精品亚洲另类欧美| 1024成人网色www| 精品一区免费av| 欧美色窝79yyyycom|