Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Communication between different war's  RSS feed

 
Ravi Kiran Savirigana
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all..
I have a problem..
I have an ear which has different war's in it.
My requirement is...i have to host an image(total 4 images - one at each hit - which actually changes in a round-robin fashion) in one war, and on clicking it, it has to go to a corresponding page in another war().
Everything is good till here,
but is there any way that we can send information from 1st war to 2nd??(like request attributes..)

Using a form and passing hidden parameters would not actually satisfy my requirement...as there would be alignment issues in the first page(war)''

how can we communicate from one war to another...?
no parameters in URL...as that is also a requirement..''

setting a cookie is one solution i found out...but there may be users who disable cookies..''

can some one please suggest ''
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a form and passing hidden parameters would not actually satisfy my requirement...as there would be alignment issues in the first page(war)''


I dont see how that is related to alignment problems.

but is there any way that we can send information from 1st war to 2nd??(like request attributes..)


App layer: EJB, Web services, RMI
Data layer: (say a DB or file)
Network: Open a socket on one app and listen on the other

It is hard to say which one you need unless we know more details about your problem
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!