Sponsored Links


Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: cs506 web development assignment no 4 idea solution on 3rd January 2012

  1. #1
    Administrator
    Join Date
    Oct 2011
    Posts
    468

    Icon14 cs506 web development assignment no 4 idea solution on 3rd January 2012

    Sponsored Links1


    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
    Attached Files Attached Files
    03009520262
    Rabeel Website

  2. #2
    Junior Member
    Join Date
    Oct 2011
    Posts
    16
    any buddy there?

  3. #3
    Administrator
    Join Date
    Oct 2011
    Posts
    468

    Icon7

    yes i am here.....
    03009520262
    Rabeel Website

  4. #4
    Junior Member
    Join Date
    Nov 2011
    Posts
    13
    asgment solution kb tk upload kro gy

  5. #5
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    try karty haa

  6. #6
    Junior Member
    Join Date
    Feb 2011
    Posts
    2
    sir plzzzzzzzzzzzzz cs506 web development assignment no 4 idea solution on 3rd January 2012 kro na i am in wit

  7. #7
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    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

  8. #8
    Junior Member
    Join Date
    Nov 2011
    Posts
    13
    vuhelper ap k pass solution hy???//

  9. #9
    Junior Member
    Join Date
    Nov 2011
    Posts
    2
    plzzzzzzzzzz koi cs506 assignment ka solution send karien

  10. #10
    Junior Member
    Join Date
    May 2010
    Posts
    4
    solution yahan py ap ko nahi mil sakta

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 12-03-2014, 04:28 PM
  2. Replies: 0
    Last Post: 11-11-2014, 07:28 PM
  3. Replies: 0
    Last Post: 05-06-2013, 10:11 PM
  4. Replies: 4
    Last Post: 07-04-2011, 11:35 PM
  5. Replies: 1
    Last Post: 05-05-2011, 06:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft