摘要: 问题描述:默认情况下mvc已经将路由参数设置配置好了,这里就不在讲解,请到园子搜索,有很多这方面相关的文章。这里讲述的是,一个MVC项目中,我们输入一个错误的URL,或者根本不存在的URL,如:http://localhost:6224/jeutcvmg/jfidjfijdif,出现一个很难看,非常... 阅读全文
posted @ 2015-04-01 12:10 小康之家 阅读(411) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/csh624366188/article/details/7065036 阅读全文
posted @ 2014-10-09 22:12 小康之家 阅读(1065) 评论(0) 推荐(1)
摘要: 一、查看Struts2源码1.ReferencedLibraries>struts2-core-2.1.6.jar>右击>properties.2.Java Source Attachment >External Folder>(选择架包存放目录)/struts-2.1.6/src/core/src/main/java>OK.3.双击打开struts2-core-2.1.6.jar根目录下的class文件你就可以看到Struts2的源码了.二、Javadoc文档1.第一部步与上面查看Struts2源码步骤相同.2.Javadoc Location>Br 阅读全文
posted @ 2013-10-27 22:46 小康之家 阅读(1444) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=152368 --><configuration> <configSections> <!-- For more information on Entity Framework co 阅读全文
posted @ 2013-04-10 23:05 小康之家 阅读(647) 评论(0) 推荐(0)
摘要: 利用NuGet添加EntityFramework引用时出现This package (or one of its dependencies) contains an init.ps1 file and need to be installed from the Package Manager Console,不能安装 在使用MVC3建立站点的时候,需要引入EFCodeFirst,但是引入后发现这个东西已经过期了,MVC3中已经不能用了,提示说“Code First is now available as part of the 'EntityFramework' package 阅读全文
posted @ 2013-03-31 20:48 小康之家 阅读(234) 评论(0) 推荐(0)