| Author |
Share data between two web applications
|
Ajay Kamble
Ranch Hand
Joined: Jan 23, 2009
Posts: 51
|
|
We are using Websphere 7.
And we want to pass data from one web application to different web application using request dispatcher forward,
How can you do this in websphere?
-Ajay
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
|
You can't pass request attributes between applications. You can pass parameters. Try a URL of /App2/page.jsp?id=1
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
vijay saraf
Ranch Hand
Joined: Jan 08, 2005
Posts: 141
|
|
Check out this thread.
http://www.coderanch.com/t/540759/Portals-Portlets/java/two-servlets-deployed-separate-web
This may be of your interest.
|
Thanks
Vijay Saraf.
|
 |
Andreas Taber
Greenhorn
Joined: May 14, 2012
Posts: 5
|
|
Although the JNDI approach may work, it's a tricky one because it introduces product dependencies and spaghetti code scenarios. Web dev is complicated enough as it is without introducing a workaround using WebSphere. Moreover, JNDI will only work effectively provided that these web apps are deployed on the same server. It's better to use http calls.
|
IT Training Manager with the Hartmann Software Group
|
 |
 |
|
|
subject: Share data between two web applications
|
|
|