Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,209,582 members, 8,006,488 topics. Date: Tuesday, 19 November 2024 at 06:36 AM |
Nairaland Forum / Science/Technology / Programming / Session Tracking In Servlets (1268 Views)
How To Build Geo-tracking Apps With AngularJS, Ionic & The Salesforce REST API / How To Create A Shipping Tracking On Website.? (2) (3) (4)
Session Tracking In Servlets by bigboyslim(m): 3:32am On May 26, 2009 |
Does anyone have an easy to understand tutorial on session tracking in servlets. All the materials i've come across have been quite difficult to understand. |
Re: Session Tracking In Servlets by enohj2ee(m): 7:35am On May 26, 2009 |
what are your competence skills |
Re: Session Tracking In Servlets by bigboyslim(m): 1:16pm On May 26, 2009 |
I dont think I understand what you mean by competence skills, but as far as the question is concerned, I can basically write a servlet to read form data from a single webpage. What i'm trying to do is write a single servlet to read form data from multiple web pages one after the other. |
Re: Session Tracking In Servlets by kencas: 4:55pm On May 26, 2009 |
HttpSession session = request.getSession(); session.setAttribute("name","kencas" dats all |
Re: Session Tracking In Servlets by Bossman(m): 5:38pm On May 26, 2009 |
Make sure you are passing control to the next page by forwarding the request via requestDispatcher. So, your servlet will act as a controller. The first form/page submits to it, you create the session object, store appropriate attributes, then forward the request to the next page/view. Google for "Core servlets and JSP" by Marty Hall. Read the chapter on session management and it should help. |
Re: Session Tracking In Servlets by bigboyslim(m): 6:33pm On May 26, 2009 |
Thanks Guys, Bossman, I think i'm going to go with your flow. What I actually want to do is use hidden form fields to track session as opposed to using the httpsession API |
Re: Session Tracking In Servlets by logica(m): 10:03am On May 27, 2009 |
Gee, see what I found with google. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.html http://www.novocode.com/doc/servlet-essentials/chapter2c.html If you don't get the tutorials, you have no business with programming. |
Re: Session Tracking In Servlets by bigboyslim(m): 10:43am On May 27, 2009 |
logica: Thanks for the link, but I dont think your last comment was necessary. I'm here to learn and just because i'm struggling with a new concept doesn't make me a numb skull or bad programmer. |
(1) (Reply)
Html And Css Coding. / Some Tech Movies To Unwind With / Please Help On My Login Page
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9 |