Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

How to get JSP pages in applet

Thread view: 
sree.it@gmail.com - 28 Oct 2006 06:34 GMT
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 - 28 Oct 2006 10:44 GMT
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
rajbala.3399@gmail.com - 30 Oct 2006 06:14 GMT
> You can request the browser to open a URL with showDocument or,
> provided the URL results in HTML3.2 being sent, without script,
[quoted text clipped - 6 lines]
> Paul Hamaker, SEMM, teaching ICT since 1987
> http://javalessons.com

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.