• 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

transfering a value from one jsp page to many jsp pages

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello all,,

I wanted to know if it is possible to transfer one value from one jsp page to many jsp pages...

if so , how???

Thanks,
Philip
[ June 13, 2008: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you'll need to explain, in a little more detail, what you're trying to accomplish before anyone can answer this question for you.
What do you mean by many JSPs?
 
Philip Zac
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Ben,

I hope it would be much better this time.

I am trying to transfer a value from one jsp page say abc.jsp to several other jsp pages.. say a.jsp, b.jsp, c.jsp...

which means that the value would be avaiable to these jsp pages...

For example...

abc.jsp page have a value apple=$1.00

make this available to these a.jsp, b.jsp, c.jsp, etc....

hope this is enough....

Thanks Ben once again..

philip
 
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
Why is this value not maintained on the server, say in a database?
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you not set them in session?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you know about the scoped variables that are available to servlet/JSP apps (page, request, session, context)?

Session and application scoped variables are available to all pages in an application, either for a single user during their session, or for everyone using the app.

Also, as Bear mentioned, shared data can be stored in a database.

Does this help?
 
Philip Zac
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks alot to you all guys.....

you are really cool .....

thanks... (I am using session ....)

Philip
reply
    Bookmark Topic Watch Topic
  • New Topic