Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to transfer data across web applications ?

 
Sivaram Ch
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic