Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Locked History Actions

GWT/ContextPathInHostedMode

開発モードでのコンテキストパス

ビルトインJettyの設定

開発モード(Hosted Mode)で使用されるビルトインのJetty Serverにコンテキストパスを設定するには、war/WEB-INFフォルダの下にjetty-web.xmlというファイルを作成し、例えば以下の内容とする。

<?xml version="1.0"  encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
        <Set name="contextPath">/myapp</Set>
</Configure> 

startupUrlの設定

Run ConfigurationのArgumentsの中のstartupUrlを、たとえば以下のように変更する。

-startupUrl http://127.0.0.1:8888/myapp/Sample.html

参考