Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Reg : getting Values from applet using jsp

 
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: 43016
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.
 
Marshal
Posts: 25682
69
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: 43016
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
 
They weren't very bright, but they were very, very big. Ad contrast:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic