Embedding Java editor within the web page

Hi,
I am looking for a Java editor. The editor should easily be embedded in the web page, for the user to test the program and view the result. If syntax error occurs, the line of the error is shown colored as shown as in Eclipse and Netbeans. Is there any package for implementing this?
Thanks
Vishnu
Edited by: vishnugr on Jul 25, 2009 5:26 AM

Take a look at the code I pasted on this thread, it will work with HTML5 / mobile and fall back to flash compatibility for older browsers. It plays perfectly fine (as apposed to what other people say on the thread). You have the option of looping and doing a bunch of things, has worked very well for me in the past for high trafficed sites (100,000+ unique's a day)
http://forums.adobe.com/message/5472226#5472226

Similar Messages

  • Error when trying to  dispay the web page

    java.lang.NullPointerException
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
         at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)
    any help would be appreciated

    Does this error happen for all your web pages or just one web page.
    If it just happens with a certain web page, what is different about it?
    Is it a page that you created with an earlier version of the IDE?
    Sometimes in the stack trace that you cut the error msg from, there will be entries for the web page itself. Did you search through the whole set of stack traces to see if it identified an errant line in the .java file for the web page?
    Can you put log("some string") statements in your .java source and view the log to determine when and where the problem is happening?
    Have you tried the debugger? See http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/debugging.html

  • Firefox sporadically won't display flash embedded within a web page.

    I have Fiorefox 28.0, running on a Mac with Mavericks 10.9.2. Sporadically, Firefox won't display an embedded flash video. I tried running Firefox in Safe Mode (all add-ons disabled). Same thing occurs - won't display the embedded flash on some webpages.
    Here is an example webpage in which this problem occurs:
    http://www.deadline.com/2014/04/nbcs-jimmy-fallon-and-seth-meyers-welcome-stephen-colbert-to-cbs-video/
    I couldn't determine how to attach a file of a screen grab or I would have done so.
    Thanks.

    I can't tell how far the player gets in loading. All I see is a blank white block of space where the player would normally be loaded. I used the term 'embedded' as that seemed the correct term to use. If incorrect, that's only due to my unfamiliarity with the correct terminology of having a flash video within a web page. BTW, I neglected to mention that the same page that Firefox has problems with is displayed fine in Safari. Screen grab attached showing blank space where Safari displays a functional plug-in.

  • When I load Safari on my IPAD2, the web page comes up, but I can't scroll down the page. No matter what web page I go to the content stays darker than the navigation bar. This just started today. All other applications work fine.

    When I bring up Safari on my IPAD2, the web page comes up, but I can't scroll down the page. This just started today. No matter what web site I go to, the content is darker than the navigation pane.

    If it's happening on all sites, then assuming that it's Safari that you're using, have you tried clearing it's cache : Settings > Safari > Clear Cache (other browsers should have similar options, possibly within the actual app instead of within Settings). You could also try closing the app completely : from the home 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 Safari app (or whichever browser you're using) 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.
    If it's only happening on a particular site then there may be content on that site that isn't supported on the iPad e.g. flash, java, silverlight

  • JSF - Read a text file and diplay lines of text data on the web page

    Hello,
    For one of my projects, I need to display lines of text data on the web page using Java Server Faces Technology. The raw data could be from simple text files or sockets or anything. (Getting the data is not my issue but displaying is). Could anybody send answers with sample code. In servlet, one could do this by -
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException{
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println(DATA);
    out.println(DATA);
    out.println("</html>");
    I am looking for similar solution.
    Thanks in advance
    DK

    Thanks mjolinor.  Works great!
    Two questions.
    1. Could you plz suggest how this could be modified so this code would read the file in or accept it from the pipeline instead of wrapping the (@' around the data?
    2. Could you plz briefly describe some of the details of the code so I can further research and understand.
    Thanks for your help.
    Thanks for your help! SdeDot
    1. It already reads in the file.  The (@' .. '@) bits are just there to create a file using your test data to demonstrate that it works.
    2.  Not user what kind of "details" you want.  There really isn't much there, and get-help on the cmdlets used should provide information on what's going on with them in that script.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

  • SharePoint 2010 Allow User to Add Comments to Files in a Library and to the Header of the Web-Page

    (1) I need to allow an end-user to be able to add comments to files either when they are added to a library or after they are added. I didn't see a Column available for adding to a Document Library for "Comments".
    (2) I need the same user to be able to add text/comments to the Header of the web-page that contains the library (above the library at the top of the screen).
    When I (the SP Admin) add the "Content Editor Web-Part" to the top of the web-page that contains the Document Library, the Toolbar disappears. The Content Editor Web-Part would be ideal to allow the end-user to add comments to the Header, but I
    really need the Toolbar available.
    Is there another Web-Part that I could use for allowing comments to be added to the Header of a web-page without disabling the Toolbar, or is there a known-fix for allowing the Toolbar to be available and functional after adding a Content Editor Web-Part?
    JCashon

    Hi,
    According to your post, my understanding is that you want to add Comments to Files in a Library and to the Header of the Web-Page.
    (1)If you use the document content type in the library, it will contain the “Comments” field automatically. When you add the document, you can enter the conments. You can also edit the “Comments” field after the document added.
    (2)If you add the add the "Content Editor Web-Part" to the AllItem.aspx Page, you can add the text to the web part as the Header.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Is it possible to run a java application within a web browser?

    Hello everyone here! I have a question about running a java application within a web browser and I would appreciate it very much if anyone here can give me some answers.
    I have a standalone java application written with AWT. Basically this free application lets users to select spectral lines from a big file based on some criteria and plot those selected lines. Yes, it is a very simple application. Now I want to run this application within a web browser so that users don't need to download the application from the ftp site and thus don't need to install in their machine. Is it possible to run this application within browser? If yes, can we get the same plotting function as we run the application separately and where should I start out?
    Thanks in advance!
    kuilian

    Please see the signed applet discussion group for details of how to avoid the applet security restrictions. You can sign the applet, or use the policy file containing {AllPermission} for testing purposes (though not suitable for widespread deployment).
    Regards
    Matthew

  • Navigation to the web page was cancelled

    Hi All,
    I have a requriement where ABAP code in ISTEP1 is returning some 20,000 values. I could see that the program is executed in a jiffy and also returning values. But when I execute the query from Query Designer, the internet explorer runs for 10 minutes and then displays 'Navigation to the web page was cancelled'. When I execute the query in RSRT, the variable screen is shown with all the Variable values. Could someone let me know the possible solution to achevie the same result when executed from Query Designer. Thanks in advance.
    Regards,
    Subba Rao

    Hi Jeff
    Because the CHM was downloaded from SharePoint, Windows is likely blocking it. Likely you need to follow what is listed at the link below:
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How do I get rid of words being highlighted within my web page

    Words are highlighted within my web page and if you hover over the word it loads an advertisement.

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • When the image is uploaded on the server and it is displayed on the web pag

    Dear frenz,
    How the image is uploaded on the server which is at the specifiecd URL and it is displayed on the web page?
    Regards,
    Jasmeen

    it is as simple as doing with a java program .Just place the image file inside your webapps folder and the rest will be done by webserver.

  • BT Cloud - creating folders within the Web uploads...

    On the Help pages the question, "Can I upload a folder or multiple files to the BT Cloud Web Client" is answered by explaining how to upload multiple files and then says you can create a new folder within the Web uploads folder to store them. Unfortunately it does not explain how to create the said folder - and as yet I have not been able to. Help please.
    Solved!
    Go to Solution.

    This is an old thread, but still relevant to my current issue.
    I've just joined BT and have activated the BT Cloud. I've tried to create a folder by clicking on the three little dots, but it's disabled. I uploaded a file and then it became enabled. Clicking on it though only allowed me to move it to trash. I moved it to trash and the 3 little dots became disabled again.
    How do I enable this to create a folder? Surely it can't be that hard!!
    Cheers,
    Graham

  • Safari signs me out of a web page each time I open a new tab within a web page I am already signed in to

    How can I stop Safari from signing me out of a web page each time I open a new tab within a web page I am already signed in to?
    This is very annoying, how can I stop this??

    Extensions.
    1. Empty Caches
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    2. Delete Cookies
        Safari > Preferences > Privacy > Cookies and other website data:
        Click “Remove All Website Data”.

  • What is the web page to find an ipod?

    My ipod was stolen. How can I located? Does anybody know the web page to find  it?

    www.icloud.com - assuming you set 'find my ipod' up when you were loading iOS5. You'll also have to hope that it is within range of an accessible wi-fi network, (and that wi-fi is switched on). Good luck.

  • In the previous version i was able to close my mozilla and to open it again, the web pages which i was working with remained however i've tried many ways to have this advantage again but it is not working what can i do ???

    in the previous Mozilla version i used to leave some web sites opened and when i start working again my Mozilla showed the web pages i was working with in that occasion, i have looked in the options menu but there is no way, perhaps it was an add-on and now it is removed??? i would like to have this advantage again in my Mozilla could it be possible?? thx!

    Your webpages/tabs are still there. When you start firefox again, there is a "Restore Previous Session" icon below. If you click that, it will open up all your tabs again.
    Or you could see this article for better understanding-
    http://support.mozilla.com/en-US/kb/Firefox%20does%20not%20ask%20to%20save%20tabs%20and%20windows%20on%20exit?s=how+to+save+tabs&as=s#os=win&browser=fx4

Maybe you are looking for

  • Error in Data Load - Transformation inactive

    Hi While running DTPs to DSO or cube I am getting error saying that a  Transformation called up by the request is inactive and hence the request cannot be executed. But when I checked, I found all the transformations in the flow for the Data Load  we

  • Combination of TAX & Sevice TAX in a Purchase Order

    Hi, Can any body tell s how to crate a PO with below taxes: Base Price :104280inr 75% of the Base Price is 12.5%.Tax 4% Tax  on Base Price. In our Company CIN is not configured. Thanks in ADVANCE. Balu

  • Please help, podcast rejected

    Our podcast was approved and running for 3 weeks, 4 episodes, and we just received an email saying we were rejected. Not sure why this is, our feed validates fine. Title: Ruby5 Description: All your ruby news in 5 Feed URL: http://feeds.feedburner.co

  • Add Timestamp to log out put

    Hello, I would like to add timestamp to sql output file but can't seem to find the solution on the web. Tried to use "set echo on", "set serveroutput on", "set time on" but it does not add timestamp to actual output as below example shows. set echo o

  • While Launching Weblogic 12c installation GUI i am getting the below shared library exception. How i need fix it

    Error Message -> /u2/apps/ramesh/jdk1.7.0_67/bin/java -jar wls_121200.jar Extracting files....... Java HotSpot(TM) Server VM warning: You have loaded library /tmp/orcl7509581188263332744.tmp/Disk1/install/linux/libjni.so which might have disabled sta