File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply 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: 21

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
 
 
subject: Pass some value from one servlet to another servlet
 
Threads others viewed
communication Between two servlets
API to get Browser from UserAgent string
How to navigate from jsp-to servlets-and again to another -jsp
MVC, JSP/Servlet/Bean Design Issue
RequestDispatcher - regarding
MyEclipse, The Clear Choice