aspose file tools*
The moose likes Other Application Frameworks and the fly likes Pass some value from one servlet to another servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Pass some value from one servlet to another servlet" Watch "Pass some value from one servlet to another servlet" New topic
Author

Pass some value from one servlet to another servlet

vipul pal
Greenhorn

Joined: Nov 04, 2011
Posts: 3
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

Joined: Apr 20, 2010
Posts: 27

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

Joined: Nov 04, 2011
Posts: 3
Please explain with a example because i m very new .....

Thanks for your reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pass some value from one servlet to another servlet