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

Sharing bean and applet-JSP communication

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I trying to create applet that will be used as "view" when all business functionality carried by bean. Finally i need a parameter calculated by bean to be displayed in JSP
I tryed this approach:
1.Create embedded applet
<jsp: plugin type=...
code=... >
proceed input and calculation, getting final result
2.Applet created this way can fire event that using method showDocument() from AppletContext address to JSP
3.This JSP trying to use tag useBean addressing to the same bean to get result as parameter . Unfortunatelly this
way only new bean created

I know if JSP instantiate bean by useBean, other JSP can get parameters from this bean existing in context.
Whether it possible to share bean between JSP and applet, if yes what is the consequence?
Thanks in advance

[This message has been edited by Vladimir Kositsky (edited May 17, 2001).]
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic