Clearing a HTML page after incremental creation of page

Hi,
I am building a JSP page incrementally as shown in the code snippet below; What I know want to do is to clear the complete HTML code after execution of the for loop.
Is this possible ?
Thanks in Advance :-)
<html>
  <head>
    <title>Partial Output Demo</title>
  </head>
  <body>
    Partial Output
    <%  for(int ii=0; ii<10; ii++) {
        out.println("<br/> #" + ii);   
        out.flush();
        try {
            Thread.sleep(1000);
        } catch(final InterruptedException ex) {
            ex.printStackTrace();
            break;
     %>
  </body>
</html>

found it out ;-)
<html>
  <head>
    <title>Partial Output Demo</title>
    <script language="javascript">
        function show() {
            document.write("Partial Output Complete");
    </script>
  </head>
  <body onload="show()">
    Partial Output
    <%  for(int ii=0; ii<10; ii++) {
        out.println("<br/> #" + ii);   
        out.flush();
        try {
            Thread.sleep(1000);
        } catch(final InterruptedException ex) {
            ex.printStackTrace();
            break;
     %>
  </body>
</html>

Similar Messages

  • OfficeJet 6500 prints blank fax page after every other fax page

    How can I stop the printer from printing a blank page after every other incoming fax. If the fax is 5 pages, I get 10 (5 of which are blank). Tried HP support, and they can't fix this.

    Sorry that you are experiencing this issue with printing blank pages. This can be a issue with the print head. You can try to clean the print head with a lint free cloth and water. 
    Another thing would be to perform a hard reset on the printer. Unplug the power cord from the back. Leave it out for 30 seconds and plug it back in. 
    See if you can print a self-test page or printer status report.
    Let me know what happens. 
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Urgent-How to retain data in main page after returning from personalize pag

    Hi,
    i have a query,
    Like if I have a region 'CertificationRN' when I run the page a link stating “Personalize Table: (CertificationRN)” appears above the Region
    Now when I enter some data in this region, and then click on 'Personalize Table: (CertificationRN)’ link, personalize page appears.
    On personalize page when clicked on “Return to Application’ it returns to the previous page, but the data which I had entered in the region is lost.
    i.e. I get empty Textboxes as they where just after running the page.
    What should I do to retain the data in the region?
    Thanks & Regards
    Shilpa

    Shilpa in that case personlization links should not be shown to business users, using profile option
    1)Personalize Self-service Defn (FND_CUSTOM_OA_DEFINTION)
    2)FND: Personalization Region Link Enabled
    (FND_PERSONALIZATION_REGION_LINK_ENABLED)
    , then where does the question comes of them clicking personalize link.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Open new tab (before update, clear page) after update a web page search engine (unwanted) )

    After clicking on the plus sign (new tab) this comes up:
    www.delta-search.com/?babsrc=NT_ss&mntrId=067974DE2B19E349&affID=119820&tt=040713_ctrl&tsp=4935
    I have never requested this nor I have ever heard of it.
    I have tried to find where this page resides to no avail, can someone tell me please how do I eliminate this website and all I want is to have a clear page when I click on (Open a new tab)

    install the [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Search Reset Tool]. and remove "Delta Search" from the control panel, also delete a possible user.js file
    https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save#w_user-js-file-overriding-preferences
    * [[Remove a toolbar that has taken over your Firefox search or home page]].
    Did this fix the problem? Let us know!

  • Cap5: User must get a certain page after closing the browser page in the middle of a quiz

    Captivate 5, Output Flash10, LMS Cornerstone, majority of the users use IE7.
    The 10 quiz pages (always followed by 2 text pages ---> 30 pages) do not have TOC activated. So there is no bookmarking.
    Sequence:
    40 text pages --- 30 quiz pages --- 10 additional pages linked from buttons of the first 40 text pages.
    If the user closes the browser page in the middle of the quiz, no bookmark was set.
    When he starts the module again, he would just see the message "Loading".
    I'd like to open the module and lead the user to the beginning of the quiz.
    Any ideas?
    freddy209

    Hi Freedy!!
    I think I have seen this before. Please try the following solution :
    http://helpx.adobe.com/captivate/kb/projects-published-captivate-5-lms.html
    You need to replace your CPSWF9Template.dll from the installed location. Be careful to choose the one meant for your Captivate version.
    Thanks,
    Anjaneai

  • I lost my bookmark list where the dropdown doesnt work. Same goes for the webpage address tab where it just does not save. When I try to bookmark a new page after clicking "Bookmark this page", there was no response too. Can someone please help me???

    It was still functioning last night and before I close the firefox window, the problem started. The problem persist until now.
    1. Bookmark - tried to check the "help" list for lost bookmark but none of them seems to suit the problem i'm facing. The menu tab is there, but when i click on "Bookmarks", my previous bookmark list is not there. When I try to bookmark a new page, there is no window popping up (usually there is a small window pop-up to ask for the label of the website to be bookmarked).
    2. The website address tab - usually we have a list of website that we usually visit so we just need to click on the arrow and click on the webpage that we want to visit. But now, I have to type the website address every single time. There is no drop down when i click on the arrow.
    Can someone tell me what is wrong with it and please help me to solve this problem. THANK YOU VERY MUCH!!!

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • When hitting enter on some web pages(after entering information), the page just reloads. How can I fix this? It worked before, but no longer does.

    When I go to certain web sites, and enter in my information(like my Bank website), I hit enter, and the page just reloads.
    Or when I finish making a post to my blog, and I hit "Post Entry", the page just reloads.
    I did not have this problem until a few days ago. I've been using the same Firefox browser, and have deleted my cookies/history...ect.
    But nothing works.

    The Passwords Editor extension includes a feature which allows you to manually add passwords. <br />
    https://addons.mozilla.org/en-US/firefox/addon/saved-password-editor/

  • Reset iView in portal page after selecting 'Remove from Page'

    Hi All,
    By mistake, I selected 'Remove frmo page' for an iViiew in a page from the context menu that appears on the top right corner on the iView (for more options like 'personlize' option etc). Any idea on how we can revert back.
    Thanks
    Vamshi

    Hi Vamshi,
    Please refer to below blog for Cleaning Up Personalization.
    Cleaning Up Personalization
    System Administration - Support - Support Desk - Portal Content Directory - Personalization cleanup
    Use "Select by principal" will work.
    Hope it helps
    Regards
    Arun

  • Creation of new button on same page after insert command

    Hello All,
    I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
    I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
    In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
    All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
    Any help on this?

    Hi Jeff,
    I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
    I dont want any report so i am not creating form on a table or view

  • How to clear the data in my page after user enter submit button

    hi......
    how to clear the data's in my page after user enter submit button. Actually while pressing first time itself the data is uploaded in database.

    Hi Nazeer,
    Instead of doing it on the same button better create a separate button for this functionality, As per my understanding you want to clear these fields to create new record so that you can enter a new record so for this you just need to insert a new row in VO.
    Still if you want to do it on the same button then you need to put the check that particular record is not dirty if it is not then create new record else create new record.
    One more thing if you will clear on the second click of a button how will you update your record??
    Regards,
    Reetesh Sharma

  • I want to create a cd on my mac that autolaunches an .html-page after inserting into a pc or a mac. Is that possible?l

    I want to create a cd on my mac that autolaunches an .html-page after inserting into a pc or a mac. Is that possible?

    Solving this requirement on a modern Windows system is going to be problematic too, as the autorun mechanisms are increasingly being locked down over there, if not by the end-user or the system installer, then by the usual anti-malware tools that are installed.
    Given this is one of the most vulnerable populations here in terms of operational security, you'll probably want to target online distribution, or to distribute a signed application that can be installed on the target (akin to a managed system) and that then accesses your data on external storage.  All that app might do is access the disk, verify that the contents of the device are trusted and valid, and launch the browser.
    I'd likely target online distribution or pre-loaded distributions and iOS, as that's where all of the older folks I'm dealing with are headed, too.  If not a native app, then maybe a web-app here, and download the contents into the HTML5 local storage.

  • Load HTML page after animation

    After searching the forum and only finding the answer for
    AS2, I'm wondering if anybody can direct me to the finding the
    answer to my problem in AS3. I've created multiple movieclips into
    buttons that animate when you press them. I'm wondering how to have
    it then direct to an HTML page AFTER the animation finishes. I've
    tried several different things, and I can't seem to get this to
    work.
    Thanks a lot!

    Can you provide the AS2 solution? I'd like to see if I can
    figure it out. I just don't know that I'll find your posting
    again.

  • How to resize the embeded player in a page after it has loaded?

    Hi all
    I'm working with Flash 8, with the FLV player component. The
    player loads various flash videos (flv)
    that can have verious sizes.
    I have set the autosize detection for the player. But I want
    the size of the embeded player to also
    change according to the size of the loaded flv.
    For example, if the loaded flv is 100px by 100px, I want the
    embeded player to be 100px by 100px (in
    the html code). if the flv is 500px by 350px, i want the
    embeded flav to change to that 500 x 350px.
    As far as I know, the sizes of the flv file cannot be
    detected with PHP or javascript, so only the
    component can detect the flv size. Therefore I would need a
    way to re-write the embeded code after
    the flv has loaded.
    Anybody knows how to do that? Is it possible?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    Hi,
    user13091824 wrote:
    How to keep the filtered output in a page after user navigates back to all records from another page.
    Currently it clears the search---While returing from page AM Return status should be True in pageContext.setForwardURL.:::
    pageContext.setForwardURL("OA.jsp?page=/XXX/oracle/apps/po/msg/webui/SearchPG",
    "SUPP_SEARCH",
    OAWebBeanConstants.GUESS_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    ---After setting AM Status to true u can able to c the values.
    Regards
    Meher Irk

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    Try clearing your cache, [https://support.mozilla.org/en-US/kb/How to clear the cache Instructions here]. Then, try going to [https://accounts.google.com Google Accounts]. If there is currently an account singed in, sign out, then back in. After that, try going to Google Adwords.

Maybe you are looking for