会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程瑾
博客园
首页
新随笔
联系
订阅
管理
2018年7月16日
配置xml的坑
摘要: 把<servlet></servlet>和<servlet-mapping></servlet-mapping>写在<welcome-file-list>的后面就会报错,写在前面就不会
阅读全文
posted @ 2018-07-16 14:26 程瑾
阅读(319)
评论(0)
推荐(0)
2018年7月12日
Debug出现的问题The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
摘要: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. 看到了博客上其他人的回答才想起自己没有配置xm
阅读全文
posted @ 2018-07-12 21:55 程瑾
阅读(3427)
评论(0)
推荐(0)
2018年7月11日
构造方法
摘要: 最近新发现了一个自己忽略已久的小点,在类中没有写构方法的时候,系统会默认该类只有一个构造方法,并且该默认的构造方法是无参的,且方法体中没有语句。所以在main方法中实例化对象且没有传参数的时候就不会出错,当再次实例化一个对象并且传参数的时候就会出错,因为系统默认的构造方法是无参的。接下来,如果写一个
阅读全文
posted @ 2018-07-11 10:36 程瑾
阅读(129)
评论(0)
推荐(0)
2018年6月2日
博客开通啦
摘要: 我的博客开通啦,开启我的Java学习之路!
阅读全文
posted @ 2018-06-02 09:28 程瑾
阅读(77)
评论(0)
推荐(0)
公告