• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pass data between JSP pages

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there,
I would like to know whether is it possible to pass data between two jsp pages (open concurrently) . So basically what I have to achieve is that I have two JSP
Pages(Page 1 and 2) , Page 1 consists of Button which have values indicate on it . So when I click on the Button , Page 2 will automatically know that button clicked and display the data .

Thanks & Regards
Aron
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the relationship between these pages?
 
aron tay
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear , thanks for the reply.
So basically for Page 1 it act as a trigger button for page 2 to change display . But I need both pages to be open at the same time before I press the button to trigger it to update the display on page 2

Thanks & Regards
Aron
 
aron tay
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've attached an image . I'm not sure this help with the understanding of what I am asking.

Thanks & regards
Aron
S.png
[Thumbnail for S.png]
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So the two pages are displayed in different tabs in the browser?

Or in two different copies of the browser, or in two different browsers (e.g. IE and Chrome)?

Or in browsers in two different computers?

In other words, what kind of scenarios are you envisioning, and do you care about all of those possibilities?
 
aron tay
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul, Thanks for the reply .
two pages are displayed in different tabs in the browser.

Hi allen, Thanks for the reply too .
For session wise , I would be able to use . But my teacher does not want that .. Thanks for the help anyway :D

Thanks & Regards
Aron

 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, since it is now clear that this is an artificial academic exercise, what will your teacher allow? It'd be a complete waste of time to suggest ways for doing this in the real world that your teacher will not allow.

In the future please lets us know when it's a school exercise.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic