What modifications are required to make a servlet support SSL data encryption?
1. Extend HttpSecureServlet.
2. No changes are required.
3. Encode HttpServletResponse with encodeURL() and decode HttpServletRequest with decodeURL().
4. Implement the HttpSSL interface.
5.Encode HttpServletResponse with encodeResponse() and decode HttpServletRequest with decodeRequest().
1. Extend HttpSecureServlet.
2. No changes are required.
3. Encode HttpServletResponse with encodeURL() and decode HttpServletRequest with decodeURL().
4. Implement the HttpSSL interface.
5.Encode HttpServletResponse with encodeResponse() and decode HttpServletRequest with decodeRequest().