aspose file tools*
The moose likes Applets and the fly likes Reg : getting Values from applet using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Reg : getting Values from applet using jsp" Watch "Reg : getting Values from applet using jsp" New topic
Author

Reg : getting Values from applet using jsp

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
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
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
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?


Ping & DNS - my free Android networking tools app
adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
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
Bartender

Joined: Oct 14, 2005
Posts: 18879
    
    8

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

Joined: Sep 20, 2009
Posts: 1
HI, IM FACING EXACTLY THE SAME PROBLEM , COULD YOU GET THE APPLET PARAMETERS IN THE JSP PAGE?? PLEASE SHARE THE SOLUTION..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reg : getting Values from applet using jsp