0% found this document useful (0 votes)
14 views1 page

String Genre

The document describes a Java servlet class that handles adding DVD items to a list. The servlet extends the HttpServlet class and is mapped to the URL /add_dvd.do. It handles HTTP requests and uses Java classes for DVD items and lists.

Uploaded by

Mephisto Zwei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

String Genre

The document describes a Java servlet class that handles adding DVD items to a list. The servlet extends the HttpServlet class and is mapped to the URL /add_dvd.do. It handles HTTP requests and uses Java classes for DVD items and lists.

Uploaded by

Mephisto Zwei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

package com.dvd.controller; import java.io.IOException; import java.io.

PrintWriter; import
java.util.LinkedList; import java.util.List; import javax.servlet.RequestDispatcher; import
javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import
javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import
javax.servlet.http.HttpServletResponse; import com.dvd.model.DVDItem; /** * Servlet
implementation class AddDVDServlet */ @WebServlet("/add_dvd.do") public class AddDVDServlet
extends HttpServlet { private static final long serialVersionUID = 1L; /** * @see HttpSe

You might also like