Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

not showing request and session parameter from servlet to jsp  RSS feed

 
arushi tomar
Ranch Hand
Posts: 91
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Request and session parameter from servlet are not bein shown on jsp. What could I be possibly doing wrong?

jsp code


servlet code
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you put your shirt in the hamper, would you expect to find it in the desk drawer? You put "user" in the session, and yet look for it in the request. You need to find it int he same place you put it.
 
arushi tomar
Ranch Hand
Posts: 91
3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:If you put your shirt in the hamper, would you expect to find it in the desk drawer? You put "user" in the session, and yet look for it in the request. You need to find it int he same place you put it.


Thank you , sometimes we just don't see it unless somebody points it out for us. :)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
arushi tomar wrote:
Bear Bibeault wrote:If you put your shirt in the hamper, would you expect to find it in the desk drawer? You put "user" in the session, and yet look for it in the request. You need to find it int he same place you put it.


Thank you , sometimes we just don't see it unless somebody points it out for us. :)


Has happened more times than I count to me!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!