1

In "Head First servlet and jsp" there is writtern:

You cannot set application and Servlet init parameters, they are set in the DD

What is the use of this method then? Maybe it's a new feature and the book written in 2004 did not contemplate such a method? Thanks in advance.

Thanks in advance.

4

1 回答 1

3

在 javadoc 中,它声明了@sinceServlet 3.0。

Servlet 3.0 规范的发布要晚于 2004 年。

你的假设是正确的。

于 2013-10-11T14:55:26.777 回答