We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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.

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 {
PrintWriter out = rs.getWriter();
int t = 60;

HttpSession s = rq.getSession();


out.println(" Making Session based checkOut ");

out.println("obtain previous time out " +


s.setMaxInactiveInterval(2*t*t); // two hours
out.println("setting new time to get out " +



+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 2620


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please Discuss here about this assignment.Thanks

sir plzzzzzzzzzzzzzzzzzzzzz Please share solution.........

please share if any body have the solution

pls solution he share kr dyn

well yahan,,,,ap anisha or shahid bhai discuss ker sktay hian,,,hope it will be helpfull for both,,thanks,,fnrds

Iss pooray code say jo hoga wo bata deta hoon

Screen per 3 lines print hon gi

First line ........ Making session based


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

solution by shahid bhai,,,, at main page,,,,baki khud hal kain plz,,,

Iss code ka kaam sirf default Timeout ko change ker k 2 hours per set kerna hay

bhai jan Please share solution.........

Aur screen per wohi 3 lines aaen gi

thnx alot sana n shahid..............itni help kr di..its enough fr me.......

Plz help me in that assignment,,, is assignmnt ka time ni mila bnane ka, so today is last day thnks


Latest Activity

+Mr President updated their profile
8 minutes ago
A_Q added a discussion to the group ENG513 Language Teaching Methods
27 minutes ago
ALEENA replied to + M.Tariq Malik's discussion Site Overview | Assignment Solutions | Past Papers Solutions | VU Students Features
28 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Ghalti...
30 minutes ago
Profile IconALI RAZA, Husnain Kan, Safdar Mehmood and 25 more joined Virtual University of Pakistan
34 minutes ago
ALEENA liked + Iuuoɔǝut +'s discussion MTH401_Mid term Solved (Part I) with refrence
35 minutes ago
Shine--Ex-VUStudent liked + !! "AS" !!'s discussion Yaha Har Cheez ..
36 minutes ago
Shine--Ex-VUStudent liked +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
39 minutes ago
ALEENA replied to ٥ دن's discussion Gunahon ki gehrai
40 minutes ago
ALEENA replied to + !! "AS" !!'s discussion Ghalti...
41 minutes ago
ALEENA replied to Siddiq khan kakar's discussion RIP
44 minutes ago
Muhammad Hamza Mehmood liked Faiza's profile
46 minutes ago
Profile IconKhan and zuha shah joined + M.Tariq Malik's group
46 minutes ago
Khan joined + M.Tariq Malik's group
47 minutes ago
Profile IconKhan and sardarni joined + M.Tariq Malik's group
49 minutes ago
ALEENA replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
52 minutes ago
zuha shah joined + M.Tariq Malik's group
53 minutes ago
zuha shah liked + M.Tariq Malik's group PSY401 Clinical Psychology
53 minutes ago
zuha shah liked + M.Tariq Malik's group MGT111 Introduction to Public Administration
54 minutes ago
Ali joined + M.Tariq Malik's group
56 minutes ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service