Page History
...
Javaクラスは様々なリソースのパスに基づき実行されます。仮想ホストのスクリプト要素はJavaクラスと特定のリソース・パスを関連付ける際に利用されます。trace属性はHTTPトランザクションのJSMトレースを可能にします。
httpd.xml
| Code Block | ||
|---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <configuration> <instance <instance namename="WebServer" active active="true" root root="www/instance/htdocs" index index="index.html"> <listen port <listen port="4563" interface interface="*ALL" backlog backlog="256" secure secure="false" store store="pki/wwwssl.jks" password password="password" buffersend buffersend="-1" bufferreceive bufferreceive="-1" nodelay nodelay="false" timeout timeout="5"/> <access> <access> |
カスタムの Java クラスを書いて、HTTP サーバーからの HTTP 要求を処理するには、Java クラスで com.lansa.jsm.JSMHTTPService のインターフェースが実装されていなければなりません。
...