Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

applet and jsp - retain values in applet ?? PLEASE HELP!

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello --
I have an applet living in a browser. When the user selects an item out of a specific combo box, the browser should then redirect to the jsp specified in the selected item. When the user has finished entering all info in the jsp, the browser needs to return to the initial page that has the applet. Now that the applet is again visible, it needs to display all the data that was originally entered in the form (textfield values, radio button and combo box selections, etc). How do I do this? From my understanding, applets do not maintain state between browser pages. Also, I thought of using a java bean to retain the applet values, but I can't seem to get the bean to stay alive when it gets to the selected jsp page, much less to pass the bean back to the applet. The business owner is adament that the applet should not start a new browser for the jsp, but that the browser should redirect the user from the applet to the jsp and then back to the applet. Does anyone know how I can accomplish this task?
Many thanks in advance.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic