原文:http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html Introduction(介绍) Deployment is the term used for the process of installing a web application (either a 3rd party WAR or your own custom web application) into the Tomcat server. [“部署”是用来表示
1,Eclipse建立Tomcat服务 1.1 新建Server 首先这里是指,jee版的Eclipse.Eclipse是没有像MyEclipse那样集成Tomcat的,需要我们自己设置. New -> Other -> Server ,然后选择Apache下的tomcat的版本. 注意:如果Next或Finish按钮都是灰的,那么需要到Windw- > Preferences -> Server -> Runtime Environments 中进行设置.需要增加爱一个to
flask执行错误: 问题:RuntimeError: Working outside of application context. 方法: from flask import Flask, current_app app = Flask(__name__) with app.app_context(): # within this block, current_app points to app. print current_app.name 参考: http://stackoverflow
在ios8中,直接设置application badge value会出错 [[UIApplication sharedApplication] setApplicationIconBadgeNumber:count]; 曝出”Attempting to badge the application icon but haven't received permission from the user to badge the application“的错误. 原因是因为在ios8中,设置应用的ap