any buddy there?
View more random threads:
- sta301 assignment no 1 idea solution spring 2012
- need solution of assignemt 601
- cs614 dataware house assignment no 4 solution fall 2012
- cs401 assignment no 4 idea solution on 3rd of January
- Software Engineering-2 (CS605) assignment no 1 on 6th April...
- cs615 Software Project Management assignment no 1 spring...
- cs506 web development assignment no 4 idea solution on 3rd...
- CS604- Operating System assignment no 1 spring 2012 idea...
Question:
Analyze following code using your best effort. And then give and explain its output. Yours explanation should not exceed 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.
HTML Code: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("<HTML>"); out.println("<BODY>"); out.println("<H3>"); out.println(" Making Session based checkOut "); out.println("</H3>"); out.println("obtain previous time out " + s.getMaxInactiveInterval()); out.println("<BR>"); out.println("<BR>"); s.setMaxInactiveInterval(2*t*t); // two hours out.println("setting new time to get out " + s.getMaxInactiveInterval()); out.println("</BODY>"); out.println("</HTML>"); }}
Note: Your answer should be in your own words and it should be concise and precise. (This means there can’t be multiple copies of your solution, if found will be treated as copy case.)
Sponsored Links
03009520262
Rabeel Website
any buddy there?
yes i am here.....
03009520262
Rabeel Website
asgment solution kb tk upload kro gy
try karty haa
sir plzzzzzzzzzzzzz cs506 web development assignment no 4 idea solution on 3rd January 2012 kro na i am in wit
First line ........ Making session based
checkout
and 2nd line ....... Obtain previous timeout
aur iss kay end per purana timeout interval likha hoga
iss kay baad time out interval 2 hours per set ho jaay ga
phir 3rd line print hogi ............ Setting new time to get out
vuhelper ap k pass solution hy???//
plzzzzzzzzzz koi cs506 assignment ka solution send karien
solution yahan py ap ko nahi mil sakta
There are currently 1 users browsing this thread. (0 members and 1 guests)