File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg : getting Values from applet using jsp

 
adeeb alexander
Ranch Hand
Posts: 268
  • 0
  • 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
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • 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
  • 0
  • 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.
 
Paul Clapham
Sheriff
Pie
Posts: 20161
24
MySQL Database
  • 0
  • 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.
 
vidh mann
Greenhorn
Posts: 1
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic