Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Applets
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
Applets
Pass a variable from applet to a jsp
Rodricks george
Ranch Hand
Posts: 97
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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: 43081
77
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes, that's possible via URL parameters. It would look something like
getAppletContext().showDocument("http://my.server.com/myWebApp/myJsp?myVariable=myValue")
Rodricks george
Ranch Hand
Posts: 97
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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: 43081
77
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
jsp-applet-jsp communication
Applet to HTML
How to access s JSP session from an applet
Passing String[] from jsp to applet
How to pass variable from a jsp page to Applet
More...