(how) can I access Java APIs from web-page-hosted JavaScript?

Can I access Java APIs from a web-page via JavaScript if I have a JRE installed on the client machine? And if so, how?
Thanks in advance for your time and consideration.

John L. wrote:
Can I access Java APIs from a web-page via JavaScript if I have a JRE installed on the client machine? And if so, how?As far as I can remember that was actually possible in the very first versions of Netscape because Netscape really wanted to pretend Javascript and Java were meant to be used together. But they soon removed that functionality. Can you guess why?
Because people were using the File/IO classes to easily steal or remove files on the harddrive, among other such niceties. You do NOT want to have such control from a web application. People will abuse it.

Similar Messages

  • How can i see visitor statistics for web page hosted on osx lion server

    Hello
    how can i see visitor statistics for web page hosted on osx lion server
    Thanks
    Adrian

    Just click inside the url address bar. Full url address highlighted, will appear.
    Best.

  • How can I restore sliced image from web page?

    http://www.jimmyrea.com
    This website was created several years back with Fireworks and Dreamweaver.  The client wants to have some changes done, but wants to keep it pretty much as it is and they don't have much of a budget to work with.  Is there any way that I could restore the FW image png file from the web page?  The original png was lost.  Any assistance would be greatly appreciated.

    This may seem like closing the barn door after the cows have gone, but it's very important to keep your native project files on an external drive or in a zipped folder on your remote server in case you ever need them again.
    If you use Firefox.  Right click > Page Info > Media.  You will see a list of image files used on the page.  It may take some doing to reconstruct your Native Fireworks comp from these slices, though.  Depending on what needs to be changed, content vs cosmetic, you might be able to squeak by just editing a few slices.
    I would probably want to ditch the MM image rollover menus in favor of an easier to maintain CSS styled list menu.   Too bad the client can't afford a site wide re-design.
    Several FREE CSS menu systems here.
    CSS Express Drop-Down Menus  (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How can i access the EJB from a Webdynpro

    Dear all,
    How can i access the ejb , from a webdynpro?.
    Is there any way to do that?.
    I want to write the entire code (business functions) within the EJB and i wan to access the entire methods from a WebDynpro Application.This is the situation.
    Please help me to , resolve this problem.(Here im using JDBC Connection .. etc.).
    I want to do the basic connection setting's and data retrieval part within the EJB and use that within the WebDynpro..
    how can i seperate this two(i mean, i want to seperate the JDBC connections and WebDynpro,i dont want to hard code any connection parameters within the webdynpro code)
    So that i want use that saet of particular function's in many webdynpro applications..
    (i dont need any help regarding webservice way.)
    If anyone can , please help me..
    I tried that javabean class , manifest file , that way (importing javabean model).
    but im getting errors.
    I cant properly utilize that..
    So please help me with steps regarding that,,
    for javabean
    and if any , for EJB also..
    with regards
    Kishor.G

    HI,
    Since webdynpros follows Model View Controller Architecture You can access EJBs in webdynpro(views/frontend) infact to connec to database uding JDBC you have to utilise EJB ( opening connection to database closing, and other Business functionality).See this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/web dynpro tutorial and sample applications.faq#q-7
    <b>How to access the Car Rental Web Service?</b>
    Regards,
    RK

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • How can I access JSP variables from a JavaScript function in a JSP page?

    Respected sir
    How can I access JSP variables from a JavaScript function in a JSP page?
    Thanx

    You may be get some help from the code below.
    <%
        String str="str";
    %>
    <script>
        function accessVar(){
           var varStr='<%=str%>';
           alert(varStr);// here will diplay 'str'
    </script>

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

    Your iPad 2 will see the video if:
    It's in a DCIM folder on the top level of the card (which is how most cameras do it)
    It's name is 8 characters, no more, no less (CKDI9483 for example)
    It's a format that the iPad will play
    I've made mp4's of things, folderized them right and named them 'right' and can transfer them to my iPad, so you can use a computer to make the files conform to what the iPad will see.

  • How can I access iTunes media from my iPad to my time capsule

    How can I access iTunes media from my iPad to my time capsule with out a computer

    Really not suitable.. The TC is a dumb hard disk in a router.. it is not a media server..
    You can move your itunes library to the TC.. but if you do that.. one day the TC will die and take your library with it.. as well as giving slow response to every network device.. this is really not suitable.

  • How can I access my files from iCloud drive

    How can I access my files from iCloud drive from my iPhone? Is there someway to access the data like other cloud app as Google Drive nad Dropbox.

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

  • How can I access docs on a frozen Pages app? The Pages app froze up after attempted repair at the Genius bar last night.  The IPAD was having significant memory errors, and staff backed it up to the ICloud, then wiped the IPAD clean and restored the apps.

    How can I access documents on a frozen Pages app? The Pages app on my IPAD does not function after the IPAD was backed up on the ICloud, and then restored. I synced the IPAD, but this did not solve the problem.  Other apps are working, just not Pages.  Please help! These docs are badly needed for work.  Thanks so much!

    Have you tried closing the Pages app completely and seeing if it works ok when you re-open it ? From the home screen (i.e. not with Pages 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Pages app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How can I print an envelope from a Pages document ?

    How can I print an envelope from a Pages document?

    Not from a document, but there are envelope templates in Pages you can use.

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • HT4356 How can I airprint part of a web page?

    How can I airprint part of a web page using iPad and Safari?

    Copy (or cut) the area you want to print, and paste it in to a new document.
    Or take a screen shot (by simultaneously holding Shift + Command + 4 keys) of the area you want to print, then print the resulting screen shot file (which appears on your desktop).

  • HT1414 how can I access my contacts from my iphone backup

    I backed up my iphone onto my imac. How can I access the contacts, or can I?

    You can plug a new phone in and restore the backup from your computer. As has already been stated, however, contacts are NOT part of the backup. If they were restored when you restored your phone previously, they either had to come from an address book on your computer or a cloud service you were syncing to (Exchange, Yahoo, gmail, etc.).
    Most likely, you set up the contact sync when you first got your phone and never thought about it again. Just because you don't actually open and use the address book on your computer doesn't mean it isn't there.
    On Windows, look in Windows Address book or Outlook. If you had an Exchange account, Yahoo account, or G-Mail account (set up as Exchange), look at the contacts on the server.
    Even if you could save contacts to the SIM, you would only get a small fraction of the information that can be entered for each contact.

  • How can I extract Java source from Oracle?

    I have an object of type "JAVA SOURCE" in my database. I do not have the source
    code available.
    How can I extract this source from the database so I can read it? I am not a Java programmer, so a sql or pl/sql solution would be greatly appreciated.
    Thanks in advance!

    This query lists any Java object that the current database user has (JAVA SOURCE, JAVA CLASS or JAVA RESOURCE). Use this to determine which Java sources exist.
    SELECT * FROM USER_OBJECTS
    WHERE OBJECT_TYPE LIKE 'JAVA%'This query lists the source of one Java object.
    SELECT * FROM USER_SOURCE
    WHERE TYPE = 'JAVA SOURCE'
    AND NAME = 'com/acme/HelloWorld'Substitue the name of the java class you're interested in for 'com/acme/HelloWorld'.
    I know that the question is four years old, but I had the same question and arrived here via Google, so I figured posting an answer might help others in a similar situation.

Maybe you are looking for