| Author |
[solved]Problem with servlet session management
|
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
|
|
Hi everybody, I am chaitanya, I have created a jsp page which will set a session, next from there I am calling a servlet, if the session is declared it must print Hi, else it must redirect me to another page. The problem is I did not create any session in the jsp page. If I am trying to call the servlet it is printing Hi instead of redirecting me to another page. The sample code is here:
callservlet.jsp
SimpleServlet.java
web.xml file
Thank you all in advance.
|
Love all, trust a few, do wrong to none.
|
 |
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
|
|
|
Hi everybody, please ignore this question. I got it. My problem has been solved
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
anusha chaitanya wrote:Hi everybody, please ignore this question. I got it. My problem has been solved
The easy and good way of notifying like this, is to EDIT your post subject, like
[SOLVED]Problem with servlet session management
This just cause any fellow ranchers time by visiting and reading the full post
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
|
|
Sagar Rohankar wrote:
anusha chaitanya wrote:Hi everybody, please ignore this question. I got it. My problem has been solved
The easy and good way of notifying like this, is to EDIT your post subject, like
[SOLVED]Problem with servlet session management
This just cause any fellow ranchers time by visiting and reading the full post
Thanks for giving me a useful hint Sagar, I have done it
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
welcome
|
 |
 |
|
|
subject: [solved]Problem with servlet session management
|
|
|