{{{
@Page("/")
public class TopPage {
@Default
@ActionPath("index.html")
public Navigation index(final WebContext context) { ... }
@ActionPath("page1.html")
public Navigation page1(final WebContext context) { ... }
}
}}}
このようなクラスでテストしたのですが、結果以下のようになりました。
1.http://hoge.appspot.com/ -> indexメソッドが実行される。
2.http://hoge.appspot.com/index.html -> どのメソッドも実行されず404エラー
3.http://hoge.appspot.com/page1.html -> どのメソッドも実行されず404エラー
上記2、3のURLでアクセスされた場合になんらかの処理をさせたい場合は、
@Page("index.html")や@Page("page1.html")を付加したクラスを作成したほうがよ
いでしょうか?
(クラスを作成した場合は正常に動作することを確認しました。)