Reload page without posting

 

Try:
          response.redirect("your_url");
          return;
          Jack
          Robert Jose wrote:
          > Hello
          > Does anyone know of a way to go to another jsp page without posting? I am
          > trying to update (or save) to the database and then reload the page. When I
          > do a forward, I get into a endless loop. Any help would be appreciated.
          >
          > Thanks
          > Rob
          

Similar Messages

  • I accidentally leave a page without posting, losing all my work. Avoid?

    On a news site like cbc.ca or RichardDawkins.net or opposingviews.com I post messages. I often forget to post and leave the page and lose all my work. Is there some way to get Firefox to block me from leaving?
    Similarly, sometimes I accidentally start a new post before I post the previous one. Is there a way to get FireFox block me from starting a new post?

    Some sites display a warning when you leave unfinished form input asking if you're sure you want to navigate away from the page. I can't think of any built-in setting like that, but there might be a way to add your own warning using an add-on. Of course you would only want this to appear when you had at least started typing something or it would be incredibly annoying. You might try searching on the Add-ons site and see if there's anything useful there: https://addons.mozilla.org/en-US/firefox/
    On the second point about starting a new post, is that the same problem, just leaving the page a different way? Or is that a problem within the same page (for example, the response form is cleared to start a new response)? That sounds a little trickier to tackle.

  • Loading and external php page without reloading

    Hi to all,i want to load(include) php pages without reloading
    the whole page?how to accomplish that in Spry?Also can we include
    php pages also through the HTML PANEL in spry?forexample, i have a
    link which i click it should fetch dreamweaver recordset values in
    php without reloading the whole page.Is there any XML involved or
    it can be done merely through HTML Panel in Spry.Kindly help me in
    this regard.

    You can include a whole page (or part of a page) with the
    HTML Panel widget. No XML is needed for this.See the following
    page
    for HTML Panel examples and just replace the static pages by your
    php pages.

  • How to get Value of tree node without Reload Page

    hi,
    i worked with apex 4.2 and i created Tree and tabular form to retrieve the date according the value of tree select node the code of tree something like this
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "ENAME" as title,
    null as icon,
    "EMPNO" as value,
    null as tooltip,
    'f?p=36648:34:5234984107903::::P40_SELECTED_NODE:'||empno as link
    from "DEPT"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME
    and i put Selected Node Page Item: P40_SELECTED_NODE . the tree worked good and retrieve the data into tabular form according to tree node value
    my Question :
    1- i want to retrieve the data without submit the page where each time i select value from tree make page reload to update the tabular form with new value ,there is any way to pass the value of tree node to P40_SELECTED_NODE item and refresh tabular form without page reload .
    2- i want when selected from tree run page process according to value of tree node i tray to create Dynamic action with *(jquery selector : div.tree li>a)* but the Value of node incorrect.
    Regards
    Ahmed;

    look at this link
    Re: How to get Value of tree node without Reload Page ..!

  • Refresh display image item without reload page

    hi all, is a way to refresh (requery) a display image item to change the image via botton and do not reload page ?
    thanks
    Edited by: Reza.Gh. on Sep 24, 2012 11:56 AM

    I create a sample app :
    https://apex.oracle.com/pls/apex/f?p=9310:1
    code of item  P1_CAPTCHA_IMG :
    SELECT captcha_img FROM captcha WHERE response = :P1_CAP_V;
    item P1_CAP_V  code (computations) :
    SELECT *
    FROM (
    SELECT response
    FROM captcha
    ORDER BY
    dbms_random.value
    WHERE rownum = 1 ;
    Refresh botton code :
    action 1 :
    SELECT * into :P1_CAP_V
    FROM (
    SELECT response
    FROM captcha
    ORDER BY
    dbms_random.value
    WHERE rownum = 1;
    action 2:
    refresh item P1_CAPTCHA_IMG

  • How do I use icloud to restore my documents that were in Pages? Pages got stuck in "waiting" to update and when nothing else worked I deleted it and reloaded Pages. I don't want to restore everything just my Pages documents.

    How do I use icloud to restore my documents that were in Pages? Pages got stuck in "waiting" to update and when nothing else worked I deleted it and reloaded Pages. Everything I can find is about wiping everything out and restoring everything. I don't want to restore everything just my Pages documents (and numbers and keynote that also locked up during updating).

    What I meant is turn off Documents and Data in iCloud in OS X. Keep it on on your iOS devices. iCloud will sync documents between the iOS devices and make them available on the iCloud web site, but it won't mess up iWorks' open and save dialog boxes. It also won't assume that you want all your documents in iCloud, which I think is undesirable anyway.
    Keep iOS and OS X separate, and use the web site to move files between the two as necessary.
    iOS iWork is different from OS X iWork. There are fewer fonts on an iOS device. iOS iWork programs have slightly different feature sets than OS X iWork programs, and the file formats are different. iCloud automatically converts the file format when necessary, but if you make a habit of saving things directly to iCloud, you are limited to the lowest common denominator between the two versions of iWorks. So why would anyone want iWork on the Mac to open and save documents on iCloud by default?
    If you want to store files in the cloud and sync them on your Macs, SugarSync is a much better solution. It lets you choose your sync folders, it doesn't make you reorganize your files, it lets you sync all file types, it doesn't convert files to a different format and back, and it stores everything in the cloud, too. Just the simle act of saving a file backs it up and syncs it. I wouldn't live without it. iCloud is best with iTunes purchases and synchronizing Mac settings and iOS files; I woudln't live without it. The two make an unbeatable combination.

  • JSF and ADFBC: How to Run a method every time the page is posted back

    Hi everyone,
    I am using ADFBC and JSF in my project, and there is a page which runs the following logic: The page displays a set of radio options and a submit button. It has a total of 4 options, but they never display all at once. For example, when user enters the page for the first time, only selectItem 1 displays. When it clicks on the submit button, the page is posted back and hides the first select item, showing now the second, and so forth. The steps i did to achieve this are:
    1 - Created a method on the App Module that inserts a row corresponding to the select item choice.
    2 - Created another method that verifies which is the lastly entered row and returns a string containing the relevant attribute, for example, "E".
    3 - Created the methodAction binding to run the insertMethod (1) and retrieveMethod (2).
    4 - Created an invokeMethod executable for the retrieveMethod (2) and set the refresh property to "always".
    5 - Created a variableIterator with a variable to hold the retrieveMethod return, also setting the refresh to "always".
    6 - Lastly, bound the "rendered" attribute of each select item to the variable's value, for example "#{bindings.returnVariable == 'E'}
    When i run the page, the logic works almost fine, except for one detail: When the user clicks the button that calls insertMethod, the page is posted back, and i assume the selectItems should be re-rendered accordingly. Yet, the button click inserts the row in the DB (called insertMethod) but keeps showing the previous radio item. If i restart OC4J, when i enter the page again the radio is now correct, showing the next option.
    Do you know how can i tell the page that the model has been refreshed, so it runs the retrieveMethod again, alters the variable and the radio options without having to leave the page or restarting OC4J?
    Thanks in advance for your help!
    Regards
    Thiago Souza

    Hi all,
    It seems i have figured out the error. It was a logic mistake on my method, ADF was doing the refreshes just fine. There is another little question i wanted to ask now: I need to execute a JSF Navigation Case when the page loads, in order to navigate to another page due to a certain condition. is there any way to run some logic to redirect the request before the page has been rendered, just like the onLoad() javascript event runs on the body every time it gets loaded?
    What i'm trying to do exactly is this: When the login.jspx page runs the "success" navigation case, it goes to "page1.jspx". But before "page1.jspx" is loaded, i need to run an Application Module method to check for a certain situation; if this criteria is not met, i must run "fail" navigation case, from "page1.jspx" to "page2.jspx" without ever displaying page1.jspx.
    Is it clear enough? Can you guys give me some pointers on how to do it?
    Thanks a lot!
    Thiago

  • Safari 5.1 reloads page when using back button or gesture

    Safari has the strange behavior of reloading pages "navigated to" using the back button or gesture.  Most other browsers I've worked with pull from cache when using the back button.  I don't think this behavior is compliant with standards - defacto as they may be. 
    An example of why this is wrong is the navigation of this forum.  I just loaded Lion and need to use the forum for support.  When navigating back from a particular post to the list of posts the page will reload.  Needless to say several hundred posts have been entered since last looking at the list and I subsequently lose the context of what I read last.  The list of posts from cache which I orginally looked at should be returned - not the latest updated one.  Let me choose when to refresh a page from the cache.
    I downloaded Google Chrome to compare behaviors.  Chrome does not reload pages navigated to using the back button - it pulls the pages from cache.
    I've looked at the configuration of Safari and see no options to configure this behavior. 

    Switch from one finger swipe to two finger swipe
    ok, since i do not have a trackpad, i used my magic mouse. I changed my swipe between pages from one finger to two and my pages no longer re-loaded. Changing that option back to one finger swipe then set my pages to re-load   our setting are slightly differnt, but were looking for the same outcome.   Lood for a "Swipe between pages option. Then look for a drop down triangle. now change your swipe left or right with two fingers to one.   this should re-load your pages now ;-)

  • Slideshow on Blog page without .mac?

    Hi there,
    My wife wants to publish some pictures of our son online for friends and family. Since the pictres will be updated from time to time with some commentaries, I prefer to make a blog.
    Unfortunately there is no option to have a slideshow on a blog page. I would like to have the iWeb-Slideshow on the blog page. Of course I could link to a page with a slideshow - but then it doesn't make sense to use a blog anymore.
    Is there a way of having the iWeb-slideshow on my blog page without a .mac-subscription?

    panamax:
    Welcome to the Apple Discussions. I know an alternative but not a solution involving iWeb. The alternative is to post the photos to Twango.com. Specific viewers can be authorized to add comments to photos. The site also lets you embed slideshows or stock market ticker moving displays in pages this. Not nearly as elegant as what iWeb can do, however, but quick to put up and easy to use. I use both iWeb and Twango to get my photos out to friends and family.
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD, QT 7.1.3,   Mac OS X (10.4.8)   22 LCD, 250G/200G/160G FW HDs, Canon: SD700IS/i850/LIDE 50, Epson R200, 30G iPod

  • I am having an increasing problem loading almost any page or site on my Macbook pro. When I click on a page or site, it doesn't load, or I have to click on reload page numerous times. Otherwise, screen remains white.

    Has anyone encountered the problem with the Pro not being able to load almost any page or site? This has been a situation growing worse by the week. I have to click on the reload page numerous times for me to access sites or pages (from news outlets, entertainment mags, etc.) Under the address bar, the screen remains white.

    Hi Linc....I have been using Safari. SHould I try Firefox? Version 10.5.8 is what I have which I believe is up to date? This is incredibly frustrating. Only thing it seems to load quickly and without trouble is my home page (NY Times). Any thoughts?
    Thsnks,
    Bill

  • How to directly insert pictures inside a wiki page without the need to enter the picture's properties

    I am working on a publishing site collection using the enterprise wiki template. Add when I want to add a new Picture from my Pc to the wiki page, I will be prompted with the following dialog:-
    So can anyone advice how i can bypass this dialog and directly add the imag to the wiki page?
    i tried modifying the "Images" content type by hiding the above fields, but still i will be prompted to enter the following :-

    Hi,
    According to your post, my understanding is that you want to directly insert pictures inside a wiki page without the need to enter the picture's properties.
    Per my knowledge, you can use javascript to bypass Edit Properties Page while uploading pictures.
    Here are some similar articles for your reference:
    How to bypass Edit Properties
    Page while uploading documents in a document library
    How to bypass Edit Properties Page while uploading documents in a
    SharePoint and .NET: How to bypass Edit Properties Page or Skip EditForm.aspx Page while uploading documents in a document library
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Reload page

    Hi all,
    can anyone give me an idea on how to reload page in java?

    hi 7stud,
    thanks for your reply.
    i know html, css, servlet and JSP.
    and i did a reloading page used that language.What does "i did a reloading" mean? Servlets respond to client requests. What did the user do that caused a request to be sent to the server? What did your servlet do in response?
    there is a pop-up msg asking to retry sending the
    information.When, what, where?
    after click OK then it loaded the new
    scheme.
    i just want it reload the page without asking for
    sending the information.
    may be it is because the javascript..(i think)
    function refresh(){
    parent.frames['top'].location.reload();
    alert("Personalisation changed successfully.");
    6) javascript
    Javascript functions don't do anything unless they are called, so that js code does nothing.

  • When I try to play a song on my iPod Touch, it shows the information screen for the song and then skips to a new song but then goes back to the main playlist page without ever playing a song! Help!

    When I try to play a song on my iPod Touch, it shows the information screen for the song and then skips to a new song but then goes back to the main playlist page without ever playing a song! Help!

    thats tough man, yeah exchanging it is the best option. But why do people always leave a message saying" i'll probably just by an ipod" and it's usually followed by, "even though i don't like apple or ipod" . I mean fine, if u feel like giving up on the zen micro thats fine, i personally don't care if you're going to buy an ipod. for god sakes ipod isn't even the next alternati've mp3 players, theres plenty. Are u just trying to get the creative people saying "oh man we lost another one to ipod" cuz i'm sure they don't lose sleep over u wanting to buy an ipod instead of a zen. *done ranting*
    Message Edited by bleakreserve on 02-3-2005 06:34 AM

  • User Page, Recent Posts by....

    User Page Recent Posts by priisaz dispays number of times a post is viewed, but when you select View all your posts, it does not. Could this field be added to the all posts view? And should I add this to Ideas page. You may move this there if you wish.
    Thanks

    I'll do some checking on this and get back with you.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

  • I can't get pages 5.01 to open pages files from iCloud, although they open in iCloud Pages without difficulty.

    I can't get Pages 5.01 to open Pages files from iCloud, although they open in iCloud Pages without difficulty.
    I am using the most up to date version of Mavericks and Pages and can log into iCloud without any problems.  Is this just a glitch?  The files all behaved properly under previous versions and the initial release of the new version of Pages.

    Pages for iCloud beta is a weird beast and as it says "beta".
    I think it is the least compatible of all the many different .pages files floating around out there.
    Peter

Maybe you are looking for