Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs506 web development assignment no 4 idea solution on 3rd January 2012
#1
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]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>");
}}[/HTML]
Note:
Your answer should be in [B]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.)[/B]




Attached Files
.doc   Fall 2011_CS506_4.doc (Size: 166 KB / Downloads: 398)
[SIZE="3"]03009520262[/SIZE]
Rabeel Website
Reply
#2
any buddy there?
Reply
#3
yes i am here.....Confusedmileys44:
[SIZE="3"]03009520262[/SIZE]
Rabeel Website
Reply
#4
asgment solution kb tk upload kro gy
Reply
#5
try karty haa

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#6
sir plzzzzzzzzzzzzz cs506 web development assignment no 4 idea solution on 3rd January 2012 kro na i am in wit
Reply
#7
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

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#8
vuhelper ap k pass solution hy???//
Reply
#9
plzzzzzzzzzz koi cs506 assignment ka solution send karien
Reply
#10
solution yahan py ap ko nahi mil sakta
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  need solution of assignemt 601 shahbaz_abbasi 1 2,509 04-19-2012, 09:40 PM
Last Post: Xpert
  sta301 assignment no 1 idea solution spring 2012 Xpert 0 3,782 04-06-2012, 07:55 PM
Last Post: Xpert
  CS604- Operating System assignment no 1 spring 2012 idea solution Xpert 0 3,564 04-06-2012, 07:49 PM
Last Post: Xpert
  cs615 Software Project Management assignment no 1 spring 2012 idea solution Xpert 0 3,121 04-06-2012, 07:45 PM
Last Post: Xpert
  Software Engineering-2 (CS605) assignment no 1 on 6th April 2012 Xpert 0 2,754 04-06-2012, 07:40 PM
Last Post: Xpert
  cs614 dataware house assignment no 4 solution fall 2012 rabeel 1 2,989 01-10-2012, 07:51 PM
Last Post: Vuhelper
  cs401 assignment no 4 idea solution on 3rd of January rabeel 1 2,675 01-08-2012, 09:34 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)