Applet and interaction with html page

Hi,
I want to create an applet that send parameter to html page like a <FORM>.
Can I do this? How?
thanks

An applet is Client based, runs inside of HTML page.
The applet can send data to the server it came from, or to another html page on the SAME server using URLConnection.

Similar Messages

  • [WP8.1][C#]Interacting with web pages in WinRT

    I'm writing a Windows Phone 8.1 application. How would I programmatically interact with web pages- for example, search something on Google?
    The main problem seems to be, I can't access the underlying HTML document of the WebView control.
    What I have tried so far:
    using HtmlAgilityPack (only supports parsing, can't interact)
    trying to get underlying document w/ reflection (limited WinRT reflection APIs)
    looking into other cross-platform GUI toolkits, such as Qt# (also do not provide access to document object)

    Hi James.Ko,
    To help clarify your post and let people easily tell what it is about, please use a clear and concise subject and include applicable tags.
    We will help to modify the title tag base on this sticky post
    or you can modify it by yourself(recommended), and thanks for your cooperation.
    Before trying to answer your question, I would recommend you a blog:
    http://blogs.msdn.com/b/wsdevsol/archive/2014/04/03/ten-things-you-need-to-know-about-webview-_2d00_-an-update-for-windows-8.1.aspx
    You should be able to know how to invoke script into the pages and also how to get the return value. By the way, not quite understand what do you mean by underlying HTML document, means the HTML code?
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Display and interact with a vi front panel on remote C++ app

    Hello:
    I am new to LV and need a little advice.  I need to display a LabVIEW VI front panel in my C++ .Net application that users can interact with to view real-time spectrum data.  The C++ app (client) must reside on a separate computer(s) from the VI so that the client can connect from anywhere around the world and interact with the VI. 
    I am not sure about the basic architecture that should accompany a good solution.  We want to use TCP/IP but not DataSocket.  I do not have access to Measurement Studio but I do have access to LabVIEW Professional Development System v 8.2.  Can anyone provide suggestions on what I need to do in order to
    1.  Connect to my TCP server using my C++ client app - I have already written TCP client and server code which communicate but now I need to integrate LV
    2.  Get access to the VI sitting on that server
    3.  Send the VI front panel to the client for display
    4.  Allow the user to modify parameters on the front panel displayed on the C++ client, send those changes back to the server, and refresh the front panel displayed in the C++ client given the new parameters (I would like a real-time display of the spectrum to always be available)
    Is this possible?  Has anyone done this using C++ .NET in VS2005?  Are there examples I can mimic or references that will help direct me?  I have searched and searched through NI's help and found a lot of good stuff but I'm still feeling confused about the best way to utilize LV.
    Thank you in advance!

    One more question ... what if I could use Measurement Studio?  The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
    Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
    Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment.  Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
    Question: why can't you just use LabVIEW for the client application also?

  • I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. How do I resolve this issue?

    I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. I did not have this issue in the older version. I use an iMAC running OS10.6.8. How do I resolve this issue?

    Starting with this, you have errors in your CSS code.
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    body {
      margin:0;
      color: #151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: #EFF5F8;
      font-size: 100%;
    Related links:
    Windows Chrome, why do my fonts look so bad? - Lee Green
    css3 - Bad font rendering Chrome - Stack Overflow
    Nancy O.

  • Is it possible to connect an iPad to a SmartBoard and interact with the iPad on the SmartBoard, like you do on a computer with the Smart-software Notebook on it?

    Is it possible to connect an iPad to a SmartBoard and interact with the iPad on the SmartBoard, like you do on a computer with the Smart-software Notebook on it?

    You can purchase an adapter from apple that uses the monitor cable from the projector, its the same one that is probably connecting either your laptop or school workstation. On the projector control you might need to refresh the source.

  • Combining PHP Pages With HTML Pages.

    Hi,
    I started building my site in Dreamweaver CS4 using HTML pages, not knowing until now that any pages with interactivity need to be php.
    If my site has seven pages, can four of them be HTML, and the rest PHP? If so, are there any special considerations I have to take into account? Is there anything special that would have to be done at any time during the process of creating the PHP pages, uploading to a web host, etc?
    If not, is there a way to convert the HTML pages directly to PHP, or do I have to basically start from scratch?
    Thank you.

    Better to be consistent.  You CAN have php,  htm, html and shtml pages in your site, but this could cause a server conflict if you accidentally upload more than one index page to the same folder.
    Simply rename your ***.htm pages to ***.php (F2).
    Remove ***.htm pages from testing and remote servers.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Front-end HTTP Server and Performance with .jspx pages?

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

  • Please help to send an email with html page in body

    I need an html page on the body of an email to send an email blast to our customers.

    HTML Emails can be a bit tricky. You can design them in Dreamweaver, but you really shouldn't send mass email through your personal email account (or your company account). That could get you blacklisted by corporate spam filters and make your email addresses pretty much useless.
    For mass email campaigns (over a few hundred email addresses) I use http://www.icontact.com.
    You can build the email right through their site (without DW) or you can import your html from DW to their service.
    Some things to keep in mind with HTML email...
    1. Use absolute links to images and files on a server you control
    2. Use a limited amount of inline css (no external or embedded css)
    3. Use table based layouts, css support is spotty at best with email clients
    4. The <head> will be stripped from a number of email clients, don't rely on anything between the <head> tags making it to your recipients
    5. Don't use an image-only email. HTML text is very important to keep it from being labeled spam, make the images secondary to the message, many email clients will not download images without the user's say-so
    6. Include an opt-out link so people can get off your list
    There are more things to watch out for, but those are the big ones. Here is some more good info: http://alt-web.com/Articles/HTML-Emails.shtml

  • Not showing image in basic copy gif image icon and place on html page

    Trying to do a basic copy gif image icon and place it on a basic html page.
    The image shows up in my local page and shows on remote side but when I go to view in browser it does not show as a image. It shows the border but no image.
    The directions were (working with windows xp and IE8)
    Download the image to your C:\temp folder.
    4. Copy the gif file from your C:\temp folder and paste it in the same folder where your .html or .asp file is.
    I copied the image with right click save as in many different areas of computer. I even put on desktop.
    I add image and it shows on the site I am working in but when putting to remote side it does not view as an image on the browser.
    I have cleared cashe as well as pressed cntrl/refresh and still nothing.
    Other images work and show.
    on-line-vacations.com
    Thanks!

    Basic assumptions:
    You have Defined a site.
    All files reside within the defined site (including image files)
    All files use the appropriate file extensions, for example, image.gif
    You have saved and uploaded all site files to your server.
    You are EXACTLY naming the source image (no errant capital letters) in the link.
    If your other images are linking properly and showing, delete this image and insert it again (or re-link it to the image file within your site structure).
    Z

  • Global Web Applets and My Custom Home Page Report

    Hello,
    I setup a custom "My Home Page Report" which is great but does not display the report when you load the home page without clicking the "Generating analysis... Click here to view the results" link. Is there a way around this?
    I then setup a a Global Web Applet and embedded this on the main home page. When doing this I found you cannot have 1 section that spans the entire width of the page as you can with a report (To my knowledge?). I then tried putting two Custom Web Applets side by side to display the graph and report I wanted. This works however, I have vertical scroll bars although the reports are perfectly displayed and do not require any scrolling. Is there a way to get rid of the scroll bars?
    Regards
    Innoveer

    Innoveer, you can contact customer care and ask them to provision your On Demand application with the custom homepage "Execute Report Immediately" option. However, you want to make sure that this custom report loads quickly - if not it will delay the loading of your homepage.

  • Using SSI with html page

    I've got several html pages that I made to use SSI's. The code would go like:
    <div class="footer">
         <!--#include file="../ssi/footer.html" -->
          <div class="clr"></div>
    But when I preview the page on the server, it's not showing the code. If I bypass the SSI and paste the html code in directly it shows.
    I'm sure the path is correct.  I can browse to it and I've also tried putting in the whole url just incase DW's Insert messed up.
    Inserting SSI's works fine with php files, but when I try it in htm files I can't get it to work.
    Is there something I'm doing wrong?

    Also, change this
    <!--#include file="../ssi/footer.html" -->
    to this:
    <!--#include virtual="../ssi/footer.html" -->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Applet setting values on HTML page

    Is it possible for an applet to set a values on a HTML page?
    I know there is getParameter but how do I set one?
    even if it involves setting some JavaScript object/variable...
    is it even possible?

    jsobject:
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
                        JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                        textBoxLabel.setMember("innerHTML", "<center><h1>Some text written by the applet</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }html page:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    >
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text should be replaced by the applet </LABEL>

  • Interacting with Web pages

    We have developed a J2EE application (jsp, struts, ejbs, etc.) and now have a requirement to interact with hardware at the client's site. The application needs to interact with printers, check readers and DL readers. Can a JWS application interact with the web pages?
    For example, when a check is scanned, can the information be displayed on the web page? Additionally, we need to be able to print on both sides of the check. If I tell the application to print, can it respond back to the web application when it is done so the check can be flipped over and printed on the other side?

    Java WebStart is "just" a deployment mechanism. An application deployed through JWS can do anything a regular Java application can do (provided it has the appriopriate permissions). This includes talking to whatever kind of server you can think of.
    If staying within the sandbox is an issue for your app, you should take a look at the JNLP API, which allows you to do some "safe" things (like printing) on the user's system through interaction with the user. The advantage of staying within the sandbox is not having to sign your app and not having to ask the user for elevated permissions.

  • Use of javascript and textarea with HTML editor

    Hi all,
    I have been trying to use some onchange javascript in the HTML Form Element Attributes of an item which is a textarea with an HTML Editor. It just seems to ignore the code. When you "view source" the code does not seem to be there.
    What I am attempting to do is described in thread: detecting changes to items prior to submitting page
    i.e. to warn a user that if they leave the page without saving they will lose their changes. It works fine with most of the other items on the page i.e. text boxes, select lists but not the textarea with html editor.
    Is there somewhere else I should be putting my js for items of this type? I have spent some time looking through the forum posts but cannot find an answer so far.
    Thanks,
    Brian

    I'm having the same problem.
    Would like to use the onChange event in a textarea with html editor.
    This works in Firefox (where I don't get the html editor but only a textarea) but doesn't seem to work in IE.
    Is there another way of detecting the user has changed the text in the html editor?
    Thanks,
    Pieter

  • Can i use flash for ui and interact with c++ builder for the rest

    i know flash can be used in c# in visual studio but i dont remember a thing of this interaction.
    is it possible to interact with c++ builder and how?
    the scenario is simple
    use flash for UI (showing-viewing data) maybe for a kiosk or something without mouse simply with touch input,
    use c++ builder for the rest , database connection data proccessing etc
    any info will be greatly appreciated
    thanks

    I would advise proper punctuation and grammar on a public forum, but to answer your questions, yes, yes you can! Flash can be used to produce any commercial imagery or animations for the purpose of making profit, as long as you have a valid license you purchased from Adobe. You bought it, you can use it for whatever you want.
    By "book", I assume you mean the "tutorial" book series made by Adobe? If so, the name of the series is "Classroom in a Book", there's one for each versions of Flash. Personally it hasn't been of much use and I would advise simply practicing by yourself and getting familiar with the tools. Look for online tutorials and publicly available projects and see how they work.

Maybe you are looking for

  • Launching Photoshop CS4-  Spaces,

    When I launch Photoshop CS4 from Applications ( ie. not by trying to open an image), I get this window... "Could not complete your request because Photoshop does not recognize this type of file." I can close this window and proceed to open whatever i

  • Local Host Problem

    Hi, I'm new to both macs and apache, and I have run into a problem while installing mysql and php. I have been using a online video tutorial from lynda.com but I can't seem to access the localhost. I tried the http://localhost/~(username)/ but all it

  • How can i get a new iphone under warranty?

    I have an iphone4 and I have restored and updated my phone, the home button and then lock key both stick and half the time don't work. Has anyone else had this problem? Also my phone will randomly shut off and then back on again out of no where.

  • I need to buy a license for Flex Builder 2.0 as I do?

    I need to buy a license for Flex Builder 2.0 as I do?

  • Exception - Doubt in Finally

    i have doubt in finally block.. we know, the finally block statements execute whether the exception raises in try block or not.. but in my program the print statement working after try block without using finally block.. pls anyone expalin about this