How to get JSP pages in applet

S

sree.it

Hi,
I want to know is there is any way to open the new window of jsp
when ever i clicked on the applet. I had tried by using url but didn't
get web page.By this i get only html tags nothing beyond that.That is
not my requirement.Will give syntax for getting jsp page on applet.
ThanQ.
-Sree
 
R

rajbala.3399

Paul said:
You can request the browser to open a URL with showDocument or,
provided the URL results in HTML3.2 being sent, without script,
plugins, applets, originating from the applet-serving host, you can
embed it using a JEDitorPane.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789

: g58 and g42.

I want to perform some fuction on opened jsp page by clicked on applet.
Only getting a jsp page is not my AIM.
I tried URL. like

public class URLReader {
public static void main(String[] args) throws Exception {
URL yahoo = new URL("http://www.gmail.com/");
BufferedReader in = new BufferedReader(
new InputStreamReader(
yahoo.openStream()));

String inputLine;

while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);

in.close();
}
}

This give only HTML tags.
please give code for open tge jsp page and perform some function it.
TankQ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,096
Latest member
ThurmanCre

Latest Threads

Top