This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session tracking in servlet hosted on jrun 2.3

 
Meenakshi Jain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sessions perfectly working in servletrunner but not on JRun. When I refresh 2-3 times they work. I am not able to carry session when I am using jrun but session work perfectly in servletrunner.
The actual scene is I get a null pointer error, which I worked out was due to the fact that the session is not recognised. if i refresh the screen a couple of times or re-run my application, then the servlet functions properly. sometimes i have to even stop and start JRun. to frustrate me further, it works at first go itself sometimes. the catch may be that i am using the free version of JRun that comes with the book by Karl Moss on Java Servlets.
But with servletrunner no problem. any leads? any help on this is highly appreciated. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic