?? war-dir.xtp
字號:
<s1 title=".war files and the webapps directory"><p>A .war file is a packaged Servlet application. It's just arenamed .jar file of the web-app directory tree. Resin provides aspecial webapps directory which will automatically expand .war files,configured by the <war-dir> attribute in the resin.conf's hostconfiguration.</p><example><caucho.com><http-server> <http port='8080'/> <host id='*'> <war-dir>webapps</war-dir> </host></http-server></caucho.com></example><p>Placing a foo.war in webapps/foo.war will prompt Resin to expandfoo.war into webapps/foo/*. Resin will automatically create a newapplication browsable at the URL http://localhost:8080/foo</p><p>You can also use the <war-dir> for development. Just creating awebapps/bar directory will create an application browsableat http://localhost:8080/bar. A small warning, though, any bar.warplaced in webapps will delete and replace your webapps/bar directory.</p><p>The special .war file ROOT.war can be used to configure the 'root'web-app, i.e. the web-app with no context path. webapps/ROOT is browsedwith http://localhost:8080.</p><p>Resin always handles all files in a war, even when Resin is used withanother webserver like Apache.</p></s1>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -