wood burning stoves*
The moose likes Servlets and the fly likes [solved]Problem with servlet session management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "[solved]Problem with servlet session management" Watch "[solved]Problem with servlet session management" New topic
Author

[solved]Problem with servlet session management

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

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: 800

Hi everybody, please ignore this question. I got it. My problem has been solved
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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: 800

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: 2902
    
    1

welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [solved]Problem with servlet session management
 
Similar Threads
Unable to get EL to work
Failed to load or instantiate TagLibraryValidator
retrive serialize files data ERROR
redirect a bean?
JSF Newbie