将index.jsp设置为应用程序Sencha Architect的默认启动页面

时间:2014-07-08 19:15:56

标签: apache jsp tomcat extjs sencha-architect

我正在使用Sencha Architect,下面提到的是我正在使用的配置

版本:3.0.4.1386
频道:3.0.1-稳定
平台:1.3.0.803
cmd:4.0.4.84
框架:Ext JS 4.2.x

我已经将index.jsp放在我的应用程序文件夹中并删除了index.html,但是当我对我的ExtJS MVC应用程序进行任何更改然后在apache tomcat服务器上保存并运行它时,它会创建一个新的index.html文件我的应用程序文件夹并尝试运行这个新创建的index.html。

我想将index.jsp设置为ExtJS应用程序的默认启动页面。

我在这里缺少什么?

感谢任何形式的帮助。感谢。

1 个答案:

答案 0 :(得分:0)

更正app.json描述符,添加属性:

<强> app.indexHtmlPath

{
    "name": "ApplicationName",
    ...

    "app.indexHtmlPath": "index.jsp"

    ....
}

应用程序sencha文件夹中的详细信息:.sencha/app/defaults.properties文件。 形成它:

# defaults to index.html, but may be overridden in app.json
app.indexHtmlPath=index.html

Sencha Cmd docs