Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inter web-app communication

 
smee bond
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I make 2 web-apps communicate with each other?
I want to develop a basic prototype with following requirements:
- provide a link in web app1
- On clicking that link, it should open say 'welcome.jsp' from another web-app2.

please provide your suggestions. Thank you!
[ January 03, 2008: Message edited by: smee bond ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Place an <a> tag on the page that references the page in the other web app.

If you want it to open in a new window, specify target="_blank" on the tag.
 
smee bond
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you! I didn't know it is this simple.
I have another request: I am able to open the new page in new window but I do not want the navigation bar in there. Is there a way to avoid the navigation bar and have a basic window with just "Minimize", "Maximize" and "Close" buttons?

Thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to use window.open

Eric
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use Javascript to open the new window, you can control these things.
A Google search for "window.open" will lead you to plenty of pages like this one that explain how to do this.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric, is correct. Rather than using the target attribute, have the link execute a JavaScript function that calls window.open(). The 3rd parameter to window.open() allows you to customize the window chrome.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BUMP!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic