This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Reg : getting Values from applet using jsp  RSS feed

 
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i have a simple applet with a text field and a button. what i needed is to use the value of that text field in a jsp page. The code is below for applet. I am not able to get any !dea regarding this. Please help me out.


Thanks and Regards
Adeeb
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what i needed is to use the value of that text field in a jsp page.


What does that mean? Which JSP page? Where does it get displayed? From which server is it served? How would it make use of that value?
 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i am running this jsp at my local machine using tomcat6.0. I know how to get the parameters from html through jsp i.e by using the getParameter() method. But what should i do when i use an applet as the gui. I am going for a applets becaus of its look and feel. Is it the other way to get the same look and feel, if yes then How. Can you please just explain.
 
Sheriff
Posts: 23706
50
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to use a value in an JSP, then you have to send an HTTP request to the server which will invoke that JSP and which contains the value as a parameter.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, IM FACING EXACTLY THE SAME PROBLEM , COULD YOU GET THE APPLET PARAMETERS IN THE JSP PAGE?? PLEASE SHARE THE SOLUTION..
 
Ulf Dittmer
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vidh mann", please, PLEASE!, don't post in all uppercase letters. It's considered shouting, and thus rude, all over the 'net: KeepItDown. It's also unnecessarily hard to read.

Have you read the Sun Java Tutorial chapter about the applet tag? http://java.sun.com/docs/books/tutorial/deployment/applet/html.html
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!