Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pass a variable from applet to a jsp

 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

I want to pass a variable from applet to a jsp.... applet should redirect to another jsp and value i should get to redirected jsp... Is that possible


-Rodricks
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's possible via URL parameters. It would look something like
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Yes its working fine.... now i want to do the same thing for Swing class which extends Jpanel...

after clicking the save button .... it should forward to another Jsp with some parameter. please give some idea

-Rodricks
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would that be any different? You need a reference to the applet class (or the AppletContext) in your class, so you need to think about how to pass that reference to your class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic