This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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 » 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: 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Pass some value from one servlet to another servlet
 
Similar Threads
MVC, JSP/Servlet/Bean Design Issue
How to navigate from jsp-to servlets-and again to another -jsp
API to get Browser from UserAgent string
RequestDispatcher - regarding
communication Between two servlets