Gentle Breeze

[Servlet] web.xml <1> 본문

⑥ PreSTC/jsp / Servlet

[Servlet] web.xml <1>

재령 2008. 7. 22. 18:42

<?xml version="1.0" encoding="UTF-8"?>

....<중략>....

<servlet>
     <servlet-name>Email5 list</servlet-name> //배포자가 만든 내부적인 이름
     <servlet-class>email.EmailServlet</servlet-class> //실제 Servlet 파일 명
</servlet>


<servlet-mapping>
     <servlet-name>Email5 list</servlet-name>
     <url-pattern>/servlet/EmailServlet5</url-pattern> //client가 아는 URL
</servlet-mapping>

....<중략>....

* web.xml → DD : Deployment Descriptor (배포 서술자)

Comments