Devrishi sethi
HttpSession problem :(
0 Answer(s)      2 years and 8 months ago
Posted in : Java Beginners

i want to ask that do i need to define httpsession in every servlet or jsp in my web application? if yes, then on which servlet? the very first one like my welcome page which comes after login page or registration page.if no,then how do other servlets know that i defined a session. i am using HttpSession session = request.getSession(); in every servlet in my web page.Help :(

Advertisement
View Answers









Related Tutorials/Questions & Answers: