web.xml

  <?xml version="1.0" encoding="UTF-8" ?>
- < web-app version =" 2.5 " xmlns =" http://java.sun.com/xml/ns/javaee " xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation =" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd ">
- < servlet >
  < servlet-name > goodListAction </ servlet-name >
  < servlet-class > shopping.GoodsListAction </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > goodListAction </ servlet-name >
  < url-pattern > /goodlist </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > goodListView </ servlet-name >
  < servlet-class > shopping.GoodsListView </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > goodListView </ servlet-name >
  < url-pattern > /goodview </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > cartView </ servlet-name >
  < servlet-class > shopping.CartView </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > cartView </ servlet-name >
  < url-pattern > /cartview </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > cartAction </ servlet-name >
  < servlet-class > shopping.CartAction </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > cartAction </ servlet-name >
  < url-pattern > /cartAction </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > sell </ servlet-name >
  < servlet-class > session.SellsServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > sell </ servlet-name >
  < url-pattern > /sell </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > result </ servlet-name >
  < servlet-class > session.ResultServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > result </ servlet-name >
  < url-pattern > /re </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > update </ servlet-name >
  < servlet-class > userServlet.UpdateUser </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > update </ servlet-name >
  < url-pattern > /up </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > queryUserAction </ servlet-name >
  < servlet-class > userServlet.QueryUserAction </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > queryUserAction </ servlet-name >
  < url-pattern > /action </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > queryUserView </ servlet-name >
  < servlet-class > userServlet.QueryUserView </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > queryUserView </ servlet-name >
  < url-pattern > /view </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > header </ servlet-name >
  < servlet-class > include.HeaderServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > header </ servlet-name >
  < url-pattern > /h </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > footer </ servlet-name >
  < servlet-class > include.FooterServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > footer </ servlet-name >
  < url-pattern > /f </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > content </ servlet-name >
  < servlet-class > include.ContentServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > content </ servlet-name >
  < url-pattern > /c </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > table </ servlet-name >
  < servlet-class > servletUtils.QueryUserServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > table </ servlet-name >
  < url-pattern > /t </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > hello </ servlet-name >
  < servlet-class > firstPro.Hello </ servlet-class >
- < init-param >
  < param-name > lujuan </ param-name >
  < param-value > lj </ param-value >
  </ init-param >
  </ servlet >
- < servlet-mapping >
  < servlet-name > hello </ servlet-name >
  < url-pattern > /he </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > log </ servlet-name >
  < servlet-class > firstPro.login </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > log </ servlet-name >
  < url-pattern > /login </ url-pattern >
  </ servlet-mapping >
- < servlet >
  < servlet-name > pdfServlet </ servlet-name >
  < servlet-class > servletUtils.PDFServlet </ servlet-class >
  </ servlet >
- < servlet-mapping >
  < servlet-name > pdfServlet </ servlet-name >
  <span
分享到:
评论
lj519338345
  • 浏览: 1343 次
  • 性别: Icon_minigender_2
  • 来自: 长沙
社区版块
存档分类
最新评论

你可能感兴趣的:(xml,Web,javaee,servlet,sun)