#PTI

sql compare options

AddobjectexistencechecksUseDROPandCREATEinsteadofALTERIgnoreclollationsIgnoredatabaseandservernameinsynonymsIgnorefilegroups,partitionschemesandpartitionfunctio...
代码星球 ·2021-02-08

Cross-site scripting(XSS)

https://en.wikipedia.org/wiki/Cross-site_scriptingCross-sitescripting(XSS)isatypeofcomputersecurityvulnerabilitytypicallyfoundinwebapplications.XSSenablesattack...
代码星球 ·2021-02-08

exception disappear when forgot to await an async method

https://github.com/aspnet/AspNetWebStack/issues/235https://stackoverflow.com/questions/5383310/catch-an-exception-thrown-by-an-async-void-method 如果异常发生在1个a...

Dealing with exceptions thrown in Application_Start()

https://blog.richardszalay.com/2007/03/08/dealing-with-exceptions-thrown-in-application_start/OneannoyingproblemI'venoticedinthepastisthatifanexceptionisthrowni...

“The creator of this fault did not specify a Reason” Exception

if(!DidItPass){InvalidRoutingCodeFaultfault=newInvalidRoutingCodeFault("InvalidRoutingCode-NoApprovalStarted");thrownewFaultException<InvalidRoutingCodeFault...
代码星球 ·2021-02-08

jQuery file upload callback options

autoUploadBydefault,filesaddedtothewidgetareuploadedassoonastheuserclicksonthestartbuttons.Toenableautomaticuploads,setthisoptiontotrue.Type:booleanDefault:true...

ASP.NET Web Optimization Framework

https://www.codeproject.com/Articles/748849/ASP-NET-Web-Optimization-Framework ...

WPF global exception handler

https://stackoverflow.com/questions/1472498/wpf-global-exception-handler/1472562#1472562Youcantrapunhandledexceptionsatdifferentlevels:AppDomain.CurrentDomain.U...
代码星球 ·2021-02-08

html中 table的结构 彻底搞清 caption th thead等

正因为有太多随意称呼的教法,所以感到很困惑,如,很多人把th叫标题.那人家caption怎么想,th只是一个跟td一样的角色,只是对他进行加粗加黑了而已,用于某些单元格的内容具有"总起,总领,总结,总计"之类的语义时...在html中写table的时候,要注意它的结构,和所包含的标签层次.要得到一个空的单元格,直接写&...

java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver

因为这个问题折腾了以上午,终于解决了,做下记录:错误提示为:java.lang.ClassNotFoundException:com.microsoft.sqlserver.jdbc.SQLServerDriver在出这个问题前,首先确保连接的代码不存在语法上的错误,数据库的登录名以及密码都正确,好了,下面开始:出了两...

jetty访问jsp页面出现异常:org.apache.jasper.JasperException: PWC6345: A full JDK (not just JRE) is required解决

今天在jetty下配置一个jsp模版的报表页面,报如下异常信息: org.apache.jasper.JasperException:PWC6345:Thereisanerrorininvokingjavac.AfullJDK(notjustJRE)isrequired atorg.apache.j...

报错:org.apache.jasper.JasperException: /jsp/head.jsp (line: 1, column: 2) Page directive: illegal to

上面报错提示的是org.apache.jasper.JasperException:/jsp/head.jsp(line:1,column:2)Pagedirective:illegaltohavemultipleoccurrencesofcontentTypewithdifferentvalues(old:text/...

解决java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver问题

今天在做项目的时候突然遇到解决java.lang.ClassNotFoundException:com.microsoft.sqlserver.jdbc.SQLServerDriver问题,知道是jdbc驱动加载不成功,可是项目原来是正常运行的啊,只不过是我新换了一个开放环境(笔记本的系统重装了)而已,驱动、代码啥的都...

SQLServerException:通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。

1.连接数据库时抛出的异常:  com.microsoft.sqlserver.jdbc.SQLServerException:通过端口1433连接到主机localhost的TCP/IP连接失败。错误:“Connectionrefused:connect。请验证连接属性。确保SQLServer的实例...

netty笔记-:EpollEventLoopGroup:Caused by: java.lang.ExceptionInInitializerError:Caused by: java.lang.IllegalStateException: Only supported on Linux

今天在翻看netty的源码的时候发现netty对EventLoopGroup的实现有不止常用的NIOEventLoopGroup,一共有以下几种。EpollEventLoopGroupNioEventLoopGroupKQueueEventLoopGroup  其中NioEventLoopGroup则是我们比较常用的,...
首页上一页...4445464748...下一页尾页