开发者

Servlet 3.0 annotations <welcome-file>

Is it possible to set welcome-file tag from standard web.xml file by servlet 3.0 annotation ?

<welcome-file-list>
        <welc开发者_运维技巧ome-file>PageName.html</welcome-file>
</welcome-file-list>


No, there is not such annotation at the moment. Servlet 3.0 annotations are InitParam, ServletFilter, WebServlet, WebServletContextListener, there's nothin for the welcome files in there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜