[ExtJS5 Study notes] section 31st Sencha ExtJS 5 using cmd-generated projects to deploy to the Tomcat server

Source: Internet
Author: User

This address: http://blog.csdn.net/sushengmiyan/article/details/42940883

This article Sushengmiyan

--------------------------------------------------------------------------------------------------------------- ---------------------

Using the Sencha cmd build app, we expect the compressed JS to be packaged with CMD only, without having to deploy all of the EXT code that is bulky.

Try the official Ext example, after packing, we use the files in the Build\production\yourappname directory can be. Deploy the files under this directory to Tomcat, adding webinfo and the following Web. xml file. Start Tomcat.

Use CMD to generate the default example, deploy it and discover that it will work.


Own complex point, follow such a step, error, should be I have the file is not loaded correctly. I will all the files, together with the Ext source files are all under Tomcat, can run normally, but did not achieve the purpose of deploying a JS ...


[ExtJS5 Study notes] section 31st Sencha ExtJS 5 using cmd-generated projects to deploy to the Tomcat server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.