This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sharing bean and applet-JSP communication

Vladimir Kositsky
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic