摘要:
把<servlet></servlet>和<servlet-mapping></servlet-mapping>写在<welcome-file-list>的后面就会报错,写在前面就不会 阅读全文
摘要:
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. 看到了博客上其他人的回答才想起自己没有配置xm 阅读全文
摘要:
最近新发现了一个自己忽略已久的小点,在类中没有写构方法的时候,系统会默认该类只有一个构造方法,并且该默认的构造方法是无参的,且方法体中没有语句。所以在main方法中实例化对象且没有传参数的时候就不会出错,当再次实例化一个对象并且传参数的时候就会出错,因为系统默认的构造方法是无参的。接下来,如果写一个 阅读全文