• 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

Transfer variables in frames

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have a question on frames and variables transfer. i have a page (mainFrame.jsp) with two frames (frameA.jsp and frameB.jsp). i get a variable (LoginName) in mainFrame.jsp and transfers it to frameA.jsp. In frameA.jsp, i get the variable and use it to retrive another varibale (pathname) and then transfer it to frameB.jsp. Can anyone suggest me a method to do so?
Thanks!!
PS. Is it a good way to pass the variables by using hidden form?
ypc
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When using forms, you can specify the target frame and page to send the data to. For instance:
<FORM method="POST" action="projects.jsp" target="center" onSubmit="true">
This will send the data to "projects.jsp", which will appear in the frame titled "center".
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic