More Related Content
Similar to SDLoader SeasarCon 2009 Whire (20)
More from Akio Katayama (7)
SDLoader SeasarCon 2009 Whire
- 1. Seasar Conference
2009 White
Webコンテナ活用法再考
- SDLoaderでServletとFlexとSWTと
片山 暁雄
株式会社キャピタルアセットプランニング
T2プロジェクト
- 2. 自己紹介
名前
片山 暁雄(かたやまあきお)
ID
id:c9katayama
所属
株式会社キャピタルアセットプランニング
T2プロジェクト
- 18. SDLoaderの特徴
sdloader.html・・・WebContentから
index.html・・・WebContent2から
// WebApp追加 ルートを複数指定
loader.addWebAppContext(
new WebAppContext(“/sample”,
"WebContent2","WebContent"));
- 24. SDLoaderの特徴
Browserクラス
指定したURLをブラウザで開ける
OSのデフォルトブラウザを使用
IE,FF,Safari(Mac)で確認
SDLoader loader = new SDLoader(8080);
loader.setAutoPortDetect(true);
loader.start();
//ブラウザで開く
Browser.open(
"http://localhost:"+loader.getPort()+"/sample/index.html")
;