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.
精彩评论