1。配置Actionservlet
1)添加<Servlet>元素配置ActionServlet实例
2)配置相应的<>元素,指定请求URI和actionservlet间的映射关系。
2。配置欢迎文件
<welcome-file-lilst>
<welcom-file>login.jsp</welcome-file>
</welcome-file-list>
3。配置用户标记库
<taglib>
</taglib>
4。配置错误处理
<error-page>
<error-code></error-code>
<location></location>
</error-page>