• 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

Reg : getting Values from applet using jsp

 
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic