Solved

From Applet to jsp page

Posted on 2004-04-08
4
160 Views
Last Modified: 2010-03-31
Hello

How do i send parameters from a java applet to a jsp page and then in the jsp page how do i display them??? Please please please can some1 help and also provide me with simple code that i need to put in both the applet and in the jsp page

Many Thanks
0
Comment
Question by:djsingh81
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 25 total points
ID: 10782368
You can use this. Of course the applet will have to have come from that web server in order to connect to it without being signed:

http://javaalmanac.com/egs/java.net/Post.html?l=rel
0
 
LVL 92

Assisted Solution

by:objects
objects earned 25 total points
ID: 10787552
applet.getAppletContext().showDocument("http://www.objects.com.au/index.jsp?param1=a¶m2=b", "_blank");

In your jsp get the valu of parameters using:

<%
   String param1 = request.getParameter("param1");
   String param2 = request.getParameter("param2");
%>
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question