How to open an Applet from a text link in a HTML Page

Hi There
How to open an Applet from a text link
in a HTML page
For example I have a HyperLink "Open Applet"
When a user clicks that link i want to open a
Applet in a AWT Window.
How can i do this
Will any one help me?
-Ramya

u can use javascript for that
<SCRIPT language="javascript">
function loadAppNow() {
document.write("<APPLET ......></APPLET>")
</SCRIPT>
LoadApplet
this will overwrite the applet on current window
There are many good ways other than document.write to open in same window. I don't remember the syntax right now.
Plz. refer to javascript tutorial for that.
even you can insert the applet while retaining previous contents. its quite easy actually.
regards....bhart

Similar Messages

  • How to open "All Tabs" from previously shown pages history?

    Hi,
    How to open "All Tabs" from previously shown pages history. I am not asking about "Reopen from last session". I am asking about how to open all tabs from previous webpage links from a past date from history, currently its allowing me to select each page link manually by clicking it.
    Thank you!

    Select the first item you wish to open, scroll down to the last, Shift-click that one & all those between should be selected too. Double-click on them & they should all start to open... or you can copy & then drag/paste into a new or existing bookmarks folder.

  • How to call a Applet from a servlet and vice versa...?

    Hi all
    Can anyone help me how to call a applet from a servlet and vice versa. When the applet is called it should contact the database (oracle8i) and get the data. When i submit the applet form the data in the applet should be saved in the database.
    Thanks in advance
    Kamalakannan

    Sweep is correct about requestDispatcher being another approach for inter-servlet delegation; the only issue that i recall with this approach is that it defaults the method of the destination servlet to the one it was called from...for example, calling servlet2 from within servlet1.post() resulted in the dispatcher attempting to utilize servlet2.post() - i believe that i searched for a parameterize solution to no avail :( (ended up handling the request by placing a "fake" doPost() in servlet2 that simply called servlet2.doGet())
    however, if your application is functioning correctly on your pc/webserver then the problem may be external to servlet communication (e.g. client webserver's ports not configured or blocked, missing runtime classes, etc.)
    my suggestion would be to set aside the programmatic concerns for the moment - what is the response if you open a browser on a client's machine and access the URL in question (i.e. http://clientserver:port/stefanoServlet)? If it will not respond to access in this manner then it certainly won't when your application calls for it.
    It's possible that there is a coding error but, given the info supplied, i'd start examining the environment, first. Let us know if you have any luck with the test i recommended or not (please provide abundant detail). Or, if you've found the solution then you may want to post back with a quick blub so the next person knows how to escape the trap.
    D

  • How to open a pdf from pdf target with page no using javascript

    Hi
    How to open a pdf from pdf target with page no using javascript
    Thanks in Advance.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • HOW DO I SAVE PICS FROM MY TEXT MESSAGES TO MY PHONE

    How do i save pics from my text messages, not very smart phone savvy!

    migjmh wrote:
    How do i save pics from my text messages, not very smart phone savvy!
    When you are viewing the test message with the picture in it, press and hold on the picture itself and it should vibrate and pull up a menu with the options of "View Picture", "Save Picture", and "Share Picture". Choose which one you want.

  • How to open a RPD, from a linux folder? OBIEE 11g

    Hi,
    How to open a RPD, from a linux folder? Is there a tool, or any command line command to open the RPD?
    Thanks for your time and help.

    Hi,
    You cannot open an rpd on a Linux manchine.
    You have to install the client (Admin tool) on windows and open the rpd remotely in online mode
    Thanks
    Deva

  • How to open multiple windows from ALV?

    I have a button on each line of ALV.
    If the user clicks on the button on the first line, it shoud open a window in another session.
    Now the user will be able to click on the button on the next line and another window should popu up.
    Thus the user can compare the window contents and do the corrections.
    How to achive this opening of windows simultaneously?
    Thanks,
    Ven

    I tried the above function module and it does open anotehr session - but I am not able to pass values . I have to pass SAP Script texts and opent he window. but the above func mod calls t codes and allows bdcdata, messages or spa/gpa parameters only.
    So I am back with my question - how to open the session with the text lines?

  • TS4256 How to open .RAF files from Fuji camera?

    How to open .RAF files from Fuji camera in Aperture 3?

    Only these Fuji cameras are currently supported: http://www.apple.com/aperture/specs/raw.html
    Fujifilm
    FinePix S2 Pro
    FinePix S3 Pro
    FinePix S5 Pro
    FinePix X100**
    X-Pro1***
    X-A1***
    X-E1***
    X-E2***
    X-M1***
    X-T1***
    X20***
    X100S***
    If you have a different camera, use the software that came with your camera to develope the RAW files and convert them to a different lossless format, that Aperture recognizes.

  • Open an applet from applet on action of a button

    i want to open a applet from applet on click the button ..
    means there r two applet one having button on it ....click this button open new applet .....plzzz any body help ...

    your Quation is not clear,
    multiple task means, you want to execute the n number of actions with in one click of single button or, you want to send multiple data b/w two views,
    if it is action triggering, you can do that, you can make one action method for the button and you can call n number of methods,
    IF i am worng correct me,
    Cheers,
    Appa

  • How do you transfer photos from a text message to photo in the phone

    How do you Transfer photos from a text message to Photo in the phone   4s

    The following may help: https://discussions.apple.com/message/23075315#23075315

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • How to display a text file in a html page?

    I have written a servlet that executes a batch file whose output is saved to a txt file. I am attempting to display content of the text file as a html page from the servlet but am struggling I have attempted to read the file and output it as shown below but it is not displaying the correct data
    Appreciate some help
    Thanks in advance
    Amjad
    Runtime r = Runtime.getRuntime();
    Process p = r.exec("C:\\Condor\\test\\QueStatus.bat");
    PrintWriter out;
    String title = "Que Status";
    response.setContentType("text/html");
    out = response.getWriter();
    FileReader fr = new FileReader ("C:\\Condor\\test\\output.txt");
    for (int chr = fr.read(); chr != -1; chr = fr.read()){
         out.print(chr);
    }

    Couple of things. First you should search the forums for how to properly exec a dos batch file. There are some problems you may run into especially with io. I suspect you may not actually be running that batch file at all.
    I would test outputing a text file separately from execing the batch file.
    Here is some code so you don't have to output 1 char at a time. Setting the content length and closing the output stream might help.
    File downloadFile = new File("c:\\blah\\blah\\blah");
    response.setContentLength((int)downloadFile.length());
    response.setContentType("text/html");
    ServletOutputStream out = response.getOutputStream();
    FileInputStream fis = new FileInputStream(downloadFile);
    byte[] buffer = new byte[1024];
    int bytesRead;
    while ((bytesRead = fis.read(buffer)) != -1) {
    out.write(buffer, 0, bytesRead);
    fis.close();
    out.close();

  • How do i send hyperlink to a text box within the same page

    how do i send hyperlink to a text box within the same page on iweb

    It's called an anchor. It's often discussed in this forum.
    2 days ago : anchor
    Here's a search of the past year : anchors

  • How to open show detail item on ADF link click

    Hi,
    Can anybody tell me how to open show detail item tab on link click ??
    thanks,
    Nitesh

    Hi,
    what Frank is saying..
    1. select showdetailitem component
    2. go to disclosure property
    3. attach a managed bean variable (return true/false)
    4. in the commandLink method set the variable true/false depending on requirement
    or
    1. select showdetailitem component
    2. create a binding in the managed bean
    3. in the commandLink method set showdetailitembinding.setDisclosed(true/false);
    4. add PPR
    refer http://jobinesh.blogspot.in/2010/12/programmatically-disclosing.html
    ~Abhijit
    Edited by: Abhijit Dutta on Mar 12, 2013 5:20 PM

  • [NEWBIE] How to open a frame from an Applet?

    Hi, I'm trying to open a JFrame from an Applet. Basically, I would like that, once the user selects an option from a JMenu, a Frame would be shown with a text box where user could type some content.
    I built both the Applet and the Frame, and singularly they work. When I execute the main method from the JFrame, the window appears, but when I execute something like the following from the applet:
    MyFrame mf = new MyFrame();
    mf.setVisible(true);nothing is shown. I'm sure that I don't know something, but I just started with applets.
    Thanks for any help,
    Marco

    If MyFrame is a subclass of JFrame, then it should not
    make any difference.
    What do you need the JFrame for? Can this be done
    using another "screen" by using a CardLayout?From a menu, when the user selects 'Start game' I need a text box coming out so that the user can insert a word. This word should then evaluate an instance member of the Applet.
    Marco

Maybe you are looking for

  • How to configure VPN with Cisco ASA 5505 behind Actiontec MI424WR

    I'm trying to test my Cisco VPN client from my workplace to my home where I have a Cisco ASA 5505 (VPN server) behind the Actiontec MI424WR.  I'm able to Ping the Actiontec external IP.  I also have Port Forwarding for IKE and IPSec configured on the

  • Videos from iTunes not playing after reboot

    I had to reboot my computer after something went wrong with it (and all i was getting was a blank blue screen). after it was fixed, everything is back to normal, with the exception of the videos I bought on iTunes. They don't play at all. When I clic

  • Using Fx as a library to create and save image

    Hi, I wrote an FX desktop app to create an vector image and saved as png. I would like to use this FX program like a library. For example, to use it in glassfish managed bean to generate image and saved to a directory. Can this be done? I am wonderin

  • Error while viewing Scripts using dbms_metadata.get_ddl

    select dbms_metadata.get_ddl('TABLE',table_name,'DWHOWN') from user_tables DBMS_METADATA.GET_DDL('TABLE',TABLE_NAME,'DWHOWN') CREATE TABLE "DWHOWN"."T_DWBN_RELATION_MASTER" ( "BUSINESS_DATE" DATE NOT CREATE TABLE "DWHOWN"."TMP_CS_CUST_UD_CODES" ( "BU

  • Free OES help available. Please read before posting.

    Welcome to the OES Linux Storage and Backup forum. Here is a list of free OES resources to help you answer your questions and resolve your issues. Current OES Documentation Recent Technical Information Documents (TID) - Open Enterprise Server Open En