Waiting page + redirection

Hi everyone! My problem is that i have a specific service that takes some time to be executed.
So a user enters in a form some data and then i send him to waiting page. After the execution of the service i want him to redirect him to the page where he can view the results.
The way i am trying to solve this problem is that print the waiting page and after that i have my service started. So basically at the end of it i have a response.sendRedirect() but it doesn 't seem to work.
Note that the previous function is places after sending the response to the user (i am using Java Servlet)

look at these options:
1)AJAX
2)Html meta refresh (polling) + servlet
3)servlet + javascript location reload (polling)
Look at this tip:
http://www.onjava.com/pub/a/onjava/2003/06/11/jsp_progressbars.html?page=1
-BJ

Similar Messages

  • Web page redirecting to another page

    Hi,
    I have an issue of web pages redirecting to a specific web page (bad content).
    This issue occurred in safari first and then when i started using google chrome and firefox the same issue arrised.
    When i google something and open it in a new tab it opens into the respective web page but then after all the contents are loaded it redirects into one specific website.
    I cleared all the history and tried blocking that specific page using terminal (used step to step guide through wikihow) and even cleared the DNS by using this command "sudo dscacheutil -flushcache" but nothing works.
    I am using Mac Book Pro Retina and OS Y.
    Please be kind enough to help as soon as possible. Its urgent i am unable to search for anything using google. But it doesn't happen when i open Facebook , youtube or my mail.

    This can happen if adware is installed without your knowledge.
    1. Use  free  AdwareMedic to remove adware
        http://www.adwaremedic.com/index.php
       Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
       Once done, quit AdwareMedic.
                 or
       Remove the adware manually by following the “HowTo” from Apple.
       http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
        Turn those off and relaunch Safari.
        Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.

  • Wireless web page redirect not woking

    Hi all
    wireless web page redirect not woking 
    software version : 4.2.207.0
    one of the ssid on the controller has web authentication and the authentication page not showing once connected .
    some clients  ( like  laptop) authentication page shows but when we press submit button nothing happen .
    Please help

    Hi
    Tnx again , i beleive i have narrow down the problem , After physically removed the controller from the switch problem experencing only with mobile devices .In your previous reply you mentioned abt DNS .  I  did not understand the role of DNS in it. sorry for that . Once user connected SSID and browse anything , this will redirect to the virtual ip http://1.1.1.1/login.html?........ .we have not registered this virtual ip in the DNS server .
    Please help

  • Can Page Redirect affect caching of .SWZ files?

    Can Page Redirect affect caching of .SWZ files?
    I have two servers:
    Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)
    Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.
    What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.
    thanks

    Do you maybe need a crossdomain.xml file on server 2?<br /><br />Matt<br /><br /><br />On 11/6/08 5:48 PM, "alex_stewart" <[email protected]> wrote:<br /><br />A new discussion was started by alex_stewart in<br /><br />Developers --<br />  Can Page Redirect affect caching of .SWZ files?<br /><br />Can Page Redirect affect caching of .SWZ files?<br />I have two servers:<br />Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)<br /><br />Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.<br /><br />What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.<br /><br />thanks<br /><br />________________________________<br />View/reply at Can Page Redirect affect caching of .SWZ files? <a href=http://www.adobeforums.com/webx?13@@.59b6f554><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b6f554!folder=.3c060fa3>  form to cancel your email subscription.

  • Web Page Redirection Messages

    I am urgently trying to send out my newsletter and am receiving "Web Page Redirection Messages" when clicking on any external links from the email. This is my 23rd monthly newsletter and it has never happened before.
    The major problem is I have businesses who are paying for advertising in my newsletter and they will not accept having a message display first before accessing their site.
    Can anyone tell me please WHY this has suddenly occurred. And also what can be done to fix it?
    http://www.shirewomen.com.au/Redirect.aspx?destination=http%3a%2f%2fwww.fitintolifept.com. au%2f

    Hi there:
    http://helpx.adobe.com/business-catalyst/partner/enable-links-external-domain-names.html

  • IOS Content Filtering Using TrendMicro: Can I customize the block-page redirect-url?

    I have IOS content filtering using the Trend Micro subscription service working on a 2911 running 15.1.(3)T3 with the security license option and a 30 day demo Trend subscription.
    Once I figured out that the content filtering for Trend appears to be completely broken in 15.2 (even using docs for 15.2) I went back to 15.1 and it works great.
    Everything seems great so far except I would like to have a more 'fancy' or custom blocked page where a user can have a couple links to either go to the trend micro reporting page http://global.sitesafety.trendmicro.com/result.php or some other page, and maybe some branding so they know the page is coming from our network and is not some fake security thing or phishing attempt or whatever.
    I know I can use the 'parameter-map type urlfpolicy trend ' section to do a tiny bit of customization of the text that appears on the default blocked page display and there is an option for it to go to a simple redirect instead ('block-page redirect-url') but I wonder if anyone has any ideas on how to do more with either the built in page or the redirect-url to keep the information of what page the user was trying to access and why it was blocked (category etc.) while adding more features.
    Thanks!
    Oh, one last thing, this doesn't support any kind of 'user override' or anything like that does it? So that a network can have a filter applied but an admin could override the filtering to allow temporary access to something?

    Hmm... no thoughts over the weekend. Anyone?

  • Help me: about implementing a waitting page.

    Base in B/S, first I use a jsp form to receiving some parameter,then servlet request the parameter to process,to forward the result to a jsp page.
    But at this time I want to implement a waitting page(eg."loading,please wait.").
    How can i do this!
    thanks in advance!

    frame?
    We have used lots of frames,But I don't understand your intent!
    Please details!
    regards

  • Displaying a wait page without javascript/ meta refresh

    I am using JSPs with struts 1. I wanna show a wait page after submitting the form until it process.
    But in my case i wanna do it without javascripts or meta refreshes. any idea?

    ruwanin84 wrote:
    As far as I know, meta -refresh is not that much recommended.Please elaborate and prove. This makes really no sense to me.
    any way that's my last option. do you have any idea of checking the token?That's just a toggle in the request/session on which the server side code can intercept. This still require a request being invoked by the client.

  • How to make a progress bar or a waitting page?

    page1.cfm
    <form action="InputDB.cfm" method="post">
    <input id="inputdb" type="submit" value="InputNow">
    </form>
    InputDB.cfm
    <cfloop from="1" to "9000000" index="x">
    if it inputs the 9000000 records into the database,
    it will spend a lot of time,how to do make a progress bar
    or a waitting page when Users wait for the time?
    </cfloop>
    Thanks a lot.

    Waiting pages are easy.
    Step 1, convert form variables to session variable.
    Step 2, display something.
    Step 3, use js window.location to call the action page. Don't
    use cflocation. Even though it works, you lose your display.

  • Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • Display alert hit okay page redirects

    I am having an issue here....When my page is updated I want
    to display an alert that says updated. You must hit okay and then
    the page redirects. The problem I am having with the below code is
    that when you hit save it displays the pop up for about two seconds
    I never click okay and the page redirects. I want the page to stop
    I must click okay for the redirct to occur. Any help would be great
    Alert.show('Updated', 'Alert Box', mx.controls.Alert.OK);
    var u:URLRequest = new URLRequest('
    http://' +
    model.serverName+'/admin.cfm');

    move your URLRequest code to the clickListner function of the
    Alert as described in this example in FB help:
    <?xml version="1.0"?>
    <!-- controls\alert\AlertEvent.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    private function alertListener(eventObj:CloseEvent):void {
    // Check to see if the OK button was pressed.
    if (eventObj.detail==Alert.OK) {
    myText.text = myInput.text;
    ]]>
    </mx:Script>
    <mx:TextInput id="myInput"
    width="150"
    text="" />
    <mx:Button id="myButton"
    label="Copy Text"
    click='Alert.show("Copy Text?", "Alert",
    Alert.OK | Alert.CANCEL, this,
    alertListener, null, Alert.OK);'/>
    <mx:TextInput id="myText"/>
    </mx:Application>

  • Page Redirects

    We recently changed our website from WordPress to Adobe Muse which changed page headings. For SEO optimization I need to set up page redirects and I've found a widget that will do that for me. The issue I'm finding is that all the muse pages end in .html which prevents me from using the muse platform to set up the redirects. Is there a way to remove the .html form pages?

    Hi,
    check this discussion
    Re: How do I remove .html from the url

  • Problem with history when ther is page redirection after 'go back' button is clicked.

    Recently I was developing some application which requires request redirection from server when the browser's 'go back' button is clicked. At that time while I was testing implemented behaviour i noticed that when i go one page back forward button is disabled and when I want to go back again I am returned one the same page over and over again. It seems that there is a problem with history and how firefox handles a page redirection.
    In other browsers everything goes as it should and there isn't any such problem with history.
    I hope that this problem will be solved in the next version.

    Hi,
    I found this Terminal command here on the discussion board posted bu Sinzu.
    defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnable d -bool YES
    Dimaxum
    Sorry, everyting is BOLD tekst.

  • Business Catalyst Help | Create page redirects

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/partner/redirect-page-urls.html

    Hello Friends,
    I have a solution for this issuem Just upload that all url without .aspx or .pdf extension and wait for a while min 10min and max 1 hour.
    Then redirection of .aspx will work.
    100% working method. Try it and if it's working reply here.@33043 forumnotifier forumnotifierWoojinNewsgroup_UserDebbieLee DesignJochem van Dieten

  • JSP :: Please Wait Page

    Hi,
    I have a jsp page which displays over 100 records from the database. While the fetching is done it shows me a blank screen. How can i avoid it? I want to show the user a page which displays a waiting message, while in the background the fecthing of the recodrs is processed. and as soon as the fetching is done..i want to redirect to it.
    please help me out on this.
    Thanks in advance.

    One way to do this is...
    Insert a page between the requesting page and the actual page that fetches the records.
    In short if you have some thing like A -- > C (where A is the page that carries a link to C and C is the page that fetches the records), change it to A --> B --> C(where B is a page on which you display your nice 'Wait' message. In the source code for B, put an HTML meta tag like...
    <head>
    <meta http-equiv="Refresh" content="0; url=<put the URL pointing to page C here>">
    </head>

Maybe you are looking for

  • PXI 652x DIO Readback?

    I have a PXI 6528 DIO board with TTL output channels that NI claims to have readback capability.  I think I need readback capability to facilitate SE execution steps.  How can readback be accomplished in SE or DAQmx?  A very old LV 6.1 vi example is

  • Folder with Question Mark on Start-up/ DOS-like screen with errors now...

    Left my Mac Pro running last night, woke up to it being frozen (looked like it was in hibernation mode and wouldn't wake up). Forced a shut down from button on tower - on start-up, went gray screen with blinking folder with question mark. Inserted in

  • OBIEE 11g Presentation Level Session Logging

    Hi All I have migrated OBIEE 10g to 11g in which everything is working fine.But when i am looking into the session for physical query in analytics ,iam getting the logical query . i.e. the query on the subject areas instead of the exact physical quer

  • 10.5.6 makes MBA enter an endless update screen

    Hello guys, I downloaded the 10.5.6 update for my MacBook Air, and I installed it. In the middle of the process, the leopard aurora screen vanished, and it was replaced by a dark grey coloured screen, somewhat blueish, with a spinning wheel. It's bee

  • How can i conect my Wii with my iPhone 4

    how can I connect my Wii to the Internet using my iPhone 4?