Public Sub GetParameters() Dim Para As String Para = Command$() gstrUserID = GetCommandPara(Para, ) gstrDSN = GetCommandPara(Para, ) gstrSQLUserID = GetCommandPara(Para, ) gstrPassWord = GetCommandPara(Para, ) gstrServerName = GetCommandPara(Para, )…
Spring MVC 学习笔记2 - 利用Spring Tool Suite创建一个web 项目 Spring Tool Suite 是一个带有全套的Spring相关支持功能的Eclipse插件包. 安装Spring Tool Suite : Window -> Eclipse Marketplace -> Search for "STS", Select the Spring Tool Suite that matches your Eclipse Version. 第一…
关于对象入参的校验,我们可能第一个想到的就是在Controller层或者Service层增加很多if else的判断,如: if (user.getPassword() == "") { throw new BusinessException("password can not be empty!"); } if (user.getRank() > 30 || user.getRank() <= -1) { throw new BusinessExcep…