03 2017 档案
摘要:public class App { public static void main( String[] args ) { //JDBC驱动 String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; String dbURL = "jdbc:sqlser...
阅读全文
摘要:1.引入maven包 和 导入 sqljdbc包 sqljdbc官方地址:https://www.microsoft.com/zh-cn/download/details.aspx?id=11774 下载地址: https://download.microsoft.com/download/A/F/
阅读全文
摘要:主函数 3.Controller 4.application.properties 5.调用 http://localhost:9080/app/hello?name=sdfasd http://localhost:9080/app/hello/stss http://localhost:9080/
阅读全文
摘要:import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Properties; public class App { ...
阅读全文
摘要:public static class ArrayHelper { /// /// 数组乱序 /// /// /// public static T[] RandomSort(this T[] arr) { var count = arr...
阅读全文
摘要:configuration 元素(常规设置架构) system.web 元素(ASP.NET 设置架构) sessionState 元素(ASP.NET 设置架构)
阅读全文
摘要:在 文件夹 C:\Users\administrator\Documents\IISExpress\config 下面 applicationhost.config 文件里 找到相应的项目 如 <bindings> <binding protocol="http" bindingInformatio
阅读全文
摘要:bean文件如下: 2.类文件如下 3.调用代码如下
阅读全文
摘要:1.目录结构 项目->src->main->java->com.test.ppmoney 设置java文件夹为代码 在Project Structure 里的 Modules里 选择相应的目录 后点击 Sources菜单 项目->src->main->resources 设置resources 文件
阅读全文
摘要:class Teacher extends Observable { public void startLesson() { System.out.println(String.format("老师说开始上课")); super.setChanged(); super.notifyObservers(); } } cla...
阅读全文
摘要:清理缓存解决 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
阅读全文
摘要:<a id="jsPswEdit" class="set-item" href="javascript:;">修改密码</a>
阅读全文
摘要:MS SqlServer : select top N * from Table1 order by NewId() mySql: SELECT * FROM tableName ORDER BY rand()
阅读全文