Question: Analyze following code and comment it accordingly showing each code segment impact in the Servlet. After doing so with code write down the purpose of this code in no more than 3-4 sentences. This assignment is based on negative marking if any unnecessary information or too much detail is provided your marks will be deducted.import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class STimerOut extends HttpServlet {
public void doGet(HttpServletRequest rq, HttpServletResponse rs)
throws ServletException, IOException {
rs.setContentType("text/html");
PrintWriter out = rs.getWriter();
int t = 60;
HttpSession s = rq.getSession();
out.println("");
out.println("");
out.println("
");
out.println("Session TimeOut ");
out.println("");
out.println("");
out.println("");
out.println("
");
out.println("Session TimeOut ");
out.println("
");
out.println("gaining the old time out " +
s.getMaxInactiveInterval());
out.println("
");
out.println("
");
s.setMaxInactiveInterval(2*t*t);
out.println("giving new time to get out " +
s.getMaxInactiveInterval());
out.println("");
out.println("");
}
}