aspose file tools*
The moose likes Servlets and the fly likes How to transfer data across web applications ? 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 » Java » Servlets
Bookmark "How to transfer data across web applications ?" Watch "How to transfer data across web applications ?" New topic
Author

How to transfer data across web applications ?

Sivaram Ch
Greenhorn

Joined: May 30, 2006
Posts: 3
I am using redirection technique, to move from one web application to another. I want to move an ArrayList instance. But I dont know how to acheive this.

Can I use RequestDispatcher (forward/include)to switch between multiple web applications ?

Thanks in advance.
Ed Ward
Ranch Hand

Joined: Jan 30, 2006
Posts: 147
You can, but you would need to get the RequestDispatcher of the web app to forward to.
Check out ServletContext.getContext(String uripath) in the API.

J2EE APIs
[ June 01, 2006: Message edited by: Ed Ward ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to transfer data across web applications ?