How to open an JSP page by click on APPLET



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.The code is as follws.

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

String inputLine;

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

in.close();
}
}

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

.



Relevant Pages

  • How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... BufferedReader in = new BufferedReader( ... String inputLine; ... requirement.Will give syntax for getting jsp page on applet. ...
    (comp.lang.java.advocacy)
  • Re: opening a html page from applet
    ... Andrew Thompson wrote: ... being used for the applet. ... BufferedReader in = new BufferedReader( ... String inputLine; ...
    (comp.lang.java.programmer)
  • Re: How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... By this i get only html tags nothing beyond that.That is not my ... requirement.Will give syntax for getting jsp page on applet. ... only load URLs from the same server as the containing page ...
    (comp.lang.java.advocacy)
  • Re: How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... By this i get only html tags nothing beyond that.That is not my ... requirement.Will give syntax for getting jsp page on applet. ... window.In that new window it must load and process jsp tree structure. ...
    (comp.lang.java.advocacy)
  • Re: passing param to an applet
    ... > gosh, sorry, will try to "trim" my questions in the future... ... > I do know what u mean re viewing source code generated by jsp, ... > this is how applet appears when I view source code GENERATED by jsp: ... Do you now understand why the second applet call results in false here.. ...
    (comp.lang.java.help)