0

I want to know if I can make the .jsp file to use another class that inherits the behavior of HttpServlet when it makes the translation from .jsp to .java . In other words, I want to override the behavior of the HttpServlet used in .jsp.

1 Answers1

0
<%@ page extends="your.servlet.pkg.servletclass">

Note it doesn't have to be a servlet, but otherwise that will most probably break your jsp.

ramp
  • 1,256
  • 8
  • 14