I have a question about Servlet.
What I’d like to know is:
Who actually creates the request and response objects that are passed into a Сервлет? Objects. < /p>
Например, в следующем коде Сервлета: < /p>
Код: Выделить всё
@WebServlet(name = "helloServlet", urlPatterns = "/hello")
public class HelloServlet extends HttpServlet {
@Override
protected void service(HttpServletRequest request, HttpServletResponse response) {
}
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... se-objects
Мобильная версия