月度归档:2013 年七月

Servlet 3.0新特性中支持Annotation注解



Servlet、Filter、Listener无需在web.xml中进行配置,可以通过Annotation进行配置;

Annotation支持

 

1.Servlet

 

原本Servlet开发完后,必须在web.xml中配置如下代码:

 

[html] view pl[......]

Read more