Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pass some value from one servlet to another servlet

 
vipul pal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on Turbine and Spring simultaneously and want to pass some value (like authentication, session id, current page information) from turbine to spring page and both are in same tomcat server.
Please do the needed help.....
 
hemantha kumar k
Greenhorn
Posts: 27
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create the Context Class make all the methods as static and populate the all the fields in Turbine and access it in Spring page



you can make it generic also as you use setAttributes in Servlets

use the HasMap to create your Context Class


 
vipul pal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain with a example because i m very new .....

Thanks for your reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic