Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP session var. and Servlet session var.  RSS feed

 
sean cee
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have built a jsp that displays html with some forms and on user's submission it will send data to Servlet and the servlet will process and so on.
However I discovered that the session created by jsp is not "seen" by the servlet.
Can anyone think of a reason why?
Thanks in advance.
 
sridhar satuloori
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is this the same scenario u described request to JSP -> response to client ->request to Servlet
check the scope of session variables also the lifetime of the session.
Sridhar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!