Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

From Applet to jsp page

Posted on 2004-04-08
4
Medium Priority
?
166 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 100 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 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

927 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