Spring MVC 入门
摘要:这篇文章将教你快速地上手使用 Spring 框架. 如果你手上有一本《Spring in Action》, 那么你最好从第三部分"Spring 在 Web 层的应用--建立 Web 层"开始看, 否则那将是一场恶梦!首先, 我需要在你心里建立起 Spring MVC 的基本概念. 基于 Spring 的 Web 应用程序接收到 http://localhost:8080/hello.do(事实上请求路径是 /hello.do) 的请求后, Spring 将这个请求交给一个名为 helloController 的程序进行处理, helloController 再调用 一个名为
阅读全文
大幅优化myeclipse的速度&关闭自动更新
摘要:(转载)大幅优化myeclipse的速度&关闭自动更新去除不需要加载的模块一个系统20%的功能往往能够满足80%的需求,MyEclipse也不例外,我们在大多数时候只需要20%的系统功能,所以可以将一些不使用的模块禁止 加载启动。通过Windows - Preferences打开配置窗口,依次选择左侧的General - Startup and Shutdown,这个时候在右侧就显示出了Eclipse启动时加载的模块,可以根据自己的实际情况去除一些模块。 windows–>perferences–>general–>startup and shutdown关掉没用的启
阅读全文
tomcat配置多实例
摘要:tomcat可以在多实例模式下运行而互不干扰,tomcat下只能有一个server但能有多个service,所以只要修改tomcat的配置文件server.xml,在server中增加service就可以了,只要复制tomcat原先的service,再将端口改掉即可,例如: <Service name="Catalina2"> <!--The connectors can use a shared executor, you can define one or more named thread pools--> <!-- <Execut
阅读全文