Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get JSP pages in applet

0 views
Skip to first unread message

sre...@gmail.com

unread,
Oct 28, 2006, 1:34:00 AM10/28/06
to
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

Paul Hamaker

unread,
Oct 28, 2006, 5:44:23 AM10/28/06
to
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.
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com

rajbal...@gmail.com

unread,
Oct 30, 2006, 12:14:14 AM10/30/06
to

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

0 new messages