<? xml version = "1.0" encoding = "UTF-8" ?>
< web-app >
< servlet >
< servlet-name >HelloServlet</ servlet-name >
< servlet-class >HelloServlet</ servlet-class >
< load-on-startup >10</ load-on-startup >
</ servlet >
< servlet-mapping >
< servlet-name >HelloServlet</ servlet-name >
< url-pattern >/hello</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >LoginServlet</ servlet-name >
< servlet-class >LoginServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >LoginServlet</ servlet-name >
< url-pattern >/login</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >RegisterServlet</ servlet-name >
< servlet-class >RegisterServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >RegisterServlet</ servlet-name >
< url-pattern >/register</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >HeroListServlet</ servlet-name >
< servlet-class >servlet.HeroListServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >HeroListServlet</ servlet-name >
< url-pattern >/listHero</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >HeroAddServlet</ servlet-name >
< servlet-class >servlet.HeroAddServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >HeroAddServlet</ servlet-name >
< url-pattern >/addHero</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >HeroDeleteServlet</ servlet-name >
< servlet-class >servlet.HeroDeleteServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >HeroDeleteServlet</ servlet-name >
< url-pattern >/deleteHero</ url-pattern >
</ servlet-mapping >
< servlet >
< servlet-name >HeroEditServlet</ servlet-name >
< servlet-class >servlet.HeroEditServlet</ servlet-class >
</ servlet >
< servlet-mapping >
< servlet-name >HeroEditServlet</ servlet-name >
< url-pattern >/editHero</ url-pattern >
</ servlet-mapping >
</ web-app >
|