jQuery in Action, 2nd edition*
The moose likes Websphere and the fly likes Share data between two web applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Share data between two web applications" Watch "Share data between two web applications" New topic
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: 30136
    
150

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

vijay saraf wrote:Check out this thread.
http://www.coderanch.com/t/540759/Portals-Portlets/java/two-servlets-deployed-separate-web
This may be of your interest.


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Share data between two web applications
 
Similar Threads
Query for Kyle !!
IBM HttpServer and websphere Appserver
Error during deploy of war file on Websphere Application Server 7.0
Encryption/decryption while Communicate to database
executing db2 import statement from java