Keep the user up to date

I have a servlet that does a lot of processing within a for loop.
i.e. it takes a lot of time for the server to finish its job.
e.g.
for(1000 objects)
   //do work
  //takes very long
}what i would like to do is to keep the user up to date of the current status of the processing e.g. if the servlet is working on object no. 500, the user will be updated accordingly. I am looking for a very user friendly method if it is at all possible because the users may not be technical users.
If you have any ideas please message me.
any help would be appreciated. thnx

thnx for the valuable discussion.
"no. as long as you don't close the OutputStream, you're still in the same response. you just can't send another full response. "
what do you mean by full response?
What i really want is that when the user presses the button on the browser he can follow up the long long wait he has to put up with. It can be hours.
So basically the ideal thing would be to have a small box at the side of the window. when i press the button it starts showing how many objects have been executed, how many are left and how much time it has taken to execute up to the current status.
It sounds a bit complicated, but i think it should is not be a new problem.
You are right!!! there can be many clients at the same time (i.e. waiting for their own processes to finish) and i want to supply each of them their specific information.
thank you for your help so far, i appreciate it

Similar Messages

  • Photomerge interactive is no longer available in 12.  I wasted 4 hours trying to find the option.  Then read in a forum that the feature had been discontinued.  Interactive is the primary reason that I keep the product up-to-date.  When will the feature b

    Photomerge interactive is no longer available in 12.  I wasted 4 hours trying to find the option.  Then read in a forum that the feature had been discontinued.  Interactive is the primary reason that I keep the product up-to-date.  When will the feature be returned?

    No one knows if the interactive dialog will return, except adobe and adobe is not saying.
    What operating system are you using?
    On windows there is a way to get it back, but not if your using a mac.

  • Get the Email Id stored in the User Profile(Own Data)

    How can you get the Email Id that gets displayed in the User Profile (own data)? I need that id to be the Sender Id in the mail which converts an sapscript into pdf.

    data: p_addr type AD_SMTPADR.
    CALL FUNCTION 'FTR_CORR_CHECK_EMAIL_SAP_USER'
    EXPORTING
       I_USER                    = SY-UNAME
    IMPORTING
       E_EMAIL_ADDRESS           = p_addr
    EXCEPTIONS
       MAIL_ADDRESS              = 1
       DETERMINATION_ERROR       = 2
       OTHERS                    = 3.

  • How can I change the User Password expiry date

    Hi,
    I want to know how can I change the password expiration date of my user without changing his password. For eg:-
    User password expires on 12th May 2007. I want to extend to 12th Jun 2007. Is there any option in Oracle.
    Alter User <USERNAME> password expire .....<to new date>;

    The command is not alter user set expire...
    You should modify the user's profile, and set a timeframe:
    ALTER PROFILE DEFAULT LIMIT
    PASSWORD_LIFE_TIME = num_of_days;
    This way your password will be valid from the last time it was changed and for the time frame previously defined.
    ~ Madrid.

  • To Find the user log off date

    Hello Gurus
          I need to find the user log off and log on details.Suppose if the user logs of today and Logs on tommmorow...Then I need to get both those log off and log on details.The log details can be found from USR02 table..Plz help me in finding out the log off date of the user..IThanks
    Ganesh
    Edited by: Ganesh Kumar on Mar 9, 2009 6:57 PM

    Explore SM19 and SM20 tcodes for your requirement.

  • How can I modify supplied WP template & keep the changeable fields eg date

    Sorry couldn't find any details on this. If I use one of the supplied 'letter' templates - it includes a date field which is created when I create document. If I modify the rest of this template and then save it as a template - I lose this automatic date insertion facility.
    Also is there a method of automatically inserting the document name into the 'insert filename' field when the file is saved?
    Has anybody written a guide on advanced template design?

    Hello fruhulda
    It seems that the OP is facing a behaviour which was described several times.
    In some Apple delivered templates, is a date field which grabs the current date when we create a new document.
    This date remains as is whe we re-open the saved document some days after.
    If we create a template, we may insert a date and ask it to update when re-opening the document.
    If we save such a document as a template, it will apply the creation setting so, when we use it to create a document the date of this new document will continue to change on opening which is annoying.
    Getting the behaviour of the Apple delivered template requires a bit of surgery in the Index.xml file of the custom template.
    This trick was described several times in a Pages forum.
    A quick search with the keystring *_template AND date AND index.xml_* brought the dedicated messages to the surface (of course I enlarged the time range to search to All).
    http://discussions.apple.com/thread.jspa?messageID=5848918
    http://discussions.apple.com/thread.jspa?messageID=6601953
    http://discussions.apple.com/thread.jspa?messageID=6601953
    http://discussions.apple.com/thread.jspa?messageID=9079986
    Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 14:08:01

  • How can my program keep the user from using Alt+Tab?

    Hi everyone,
    How can i make my program so that when the user tries to use Alt+Tab to open any other windows, it won�t allow it. Thanks in advance.

    You can't.
    Java runs in a virtual machine, and relies on the OS to forward events to the virtual machine for dispatch to the appropriate swing components.
    This means that the OS will get the alt-tab, before java, and it will consume it.
    You can however detect when a window is no longer receiving focus, by adding a WindowListener
    Window.addWindowListener(WindowListener l)And you can bring your window to the front (in theory) using
    Window.toFront()However, I have found this to be not always successful (since the jre dispatches the request to the OS, it is the OS that must do it, and depending on the context may not).
    I suggest you try another language, such as C.

  • How to know the User name and date, who executed the report last time.

    Hi All,
    We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
    Is there any table to look ? or is there any process ?
    Thanks,
    Ravi.

    Ravi,
    Use SE16 - then look at rszcompdir.
    We look up Version = 13 for queries.
    Regards
    Gill

  • Keeping the library up to date?

    In my household we keep ALL our music ( ~15,000 tracks, MP3's and AAC's)  on a networked hard drive so it can be accessed from any computer in the house.  All the music is carefully organized in a very specific folder scheme.  All the computers in the house run iTunes, thus they each have their own iTunes Music Library.xml and iTunes Library.itl files. 
    When a new song is added to the collection we have to manually go through the house and add it to each computer's copy of iTunes.  But sometimes someone forgets or the computer isn't booted or it's travelling so the collection on the external drive gets out of sync on that PC's iTunes.   We end up with songs in our collection that the iTunes on a particular PC doesn't know about.
    Is there anyway to update or refresh the library on a particular PC so it can make sure every song on the networked hard drive is in the library?
    Thanks in advance. 

    When a new song is added to the collection we have to manually go through the house and add it to each computer's copy of iTunes.  But sometimes someone forgets or the computer isn't booted or it's travelling so the collection on the external drive gets out of sync on that PC's iTunes.   We end up with songs in our collection that the iTunes on a particular PC doesn't know about.
    Is there anyway to update or refresh the library on a particular PC so it can make sure every song on the networked hard drive is in the library?
    Yes. Use the 3rd party folder watching program iTunes Folder Watch. Unlike iTunes itself, iTunes Folder Watch will notice if there is new content in any designated folder, and will automatically add it to the iTunes library.

  • ITunes with another ripper - keeping the library up to date

    I use dbPowerAmp to rip my music, it handles music in LOTS of formats and converts them in a very efficient way. When it is done ripping the music, it places the songs in my My Music subdirectory. I asked iTunes to "Keep iTunes Music Folder organized", but it does not "discover" any newly ripped music. Is there a function in iTunes where it will discover new music and add it to the library?
    There should be
    If not, what is the best way to handle this?

    That is a useful program, I gave a small donation to the Paypal thing.
    It could use a few tweaks, UI wize, but it did the job

  • Will Setup Assistant allow me to choose a new user name or must I keep the user name on the source computer?

    The source computer is an early 2008 Macbook Pro running Mavericks. The new computer (it's in transit) is a 15" Macbook Pro w/ Retina Display, also running Mavericks. I want to copy all files, settings, apps etc from the old computer but I do not want the same computer name or the same user account name (short name) on the new computer. Can Setup assistant do this?

  • Robocopy command - need to keep the original folder / file dates from the servers.

    I am in a process of using robocopy to transfer data between servers.  Destination is Server 2012.  Here is my command
    robocopy "d:\Kiosk" "\\POPCORN\Kiosk" /e /zb /Copyall /mir /secfix /sec /log+:C:\copy.log
    It seems that the modified data is copied OK but once I click on the folder it all changes to the date it arrived on the new server.
    Any help would be greatly appreciated.
    Thanks.
    Just after the files are copied the 
    patyk

    The following command will copy all files and folders and will preserve the date & time stamp along with the file attributes:
    ROBOCOPY
    "d:\Kiosk""\\POPCORN\Kiosk"
    /MIR /COPY:DAT /DCOPY:T

  • Query to find the user ID create date and locked date

    Hi,
    As title, below is my query, it seem that it will not work as my expectation, can someone help?
    SELECT T0.[USER_CODE], T0.[U_NAME], T0.[LOCKED], T0.[LstLogoutD] AS 'Last Logon Date' , T1.[CreateDate]  FROM OUSR T0  INNER JOIN AUSR T1 ON T0.USERID = T1.userSign WHERE T0.[LOCKED] = 'N' AND
          T1.logInstanc = 1
    Thanks

    Try this
    After the Mr. Nagarajan post
    SELECT
    T0.[USER_CODE], T0.[U_NAME], Case when Isnull((Select Min(T1.date) from usr5 T1 where T0.USER_Code = T1.usercode GROUP by T1.Usercode), 0) <> 0 then (Select Min(T1.date) from usr5 T1 where T0.USER_Code = T1.usercode GROUP by T1.Usercode) else T0.[updateDate] end 'Creation date', T0.[lastLogin], T0.[Locked] FROM [dbo].[OUSR] T0
    Regards,

  • Create subscription not having the correct created by user name and date

    Last week we upgraded our system to SP14 from SP11. When a user creates
    a new document request from a template (refer attachment-screen shots),
    subscription notification is sent with the wrong created by user name &
    date. Instead of showing the user who created the request using the
    template, it is showing the user’s name & date who loaded the templates
    to the repository.
    Also, when the user creates new document request from template, the
    name of the templates defaults in the system property “name” without any
    extension, in other words it looks like it is overwriting the same file
    name to all the requests & is not able to identify the user’s name. We
    did not see this behavior in SP11.
    Since we are already in production & this is causing lot of issues &
    confusion, if any of you have experienced this issue, please let me know how it was resolved.
    I am also attaching the log files with errors for your reference.
    Errors thrown in trace files for template stuff
    #1.5#0003BA0ED980001D000000000000218B00040A023494CCAC#1136904495221#com.sapportals.wcm.util.logging.CatchBlockHandler#sap.com/irj#com.sapportals.wcm.util.logging.CatchBlockHandler.ResourceImpl#9kgollap#2342##woody_EPD_613400651#9kgollap#dc44ab8081e611dac2ff0003ba0ed980#SAPEngine_Application_Thread[impl:3]_4##0#0#Error##Plain###[ECB] Can't move /documents/Templates/SingleTemplates/New_ Document_ Number_ Required_Engr Spec.doc to /QIS_content/ELYR_Manufacturing/New_ Document_ Number_ Required_Engr Spec_0_.doc: com.sapportals.wcm.repository.NotSupportedException: Can't move /documents/Templates/SingleTemplates/New_ Document_ Number_ Required_Engr Spec.doc to /QIS_content/ELYR_Manufacturing/New_ Document_ Number_ Required_Engr Spec_0_.doc
                at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)
                at java.lang.Throwable.<init>(Throwable.java:195)
                at java.lang.Exception.<init>(Exception.java:41)
                at com.sapportals.wcm.WcmException.<init>(WcmException.java:59)
                at com.sapportals.wcm.util.content.ContentException.<init>(ContentException.java:38)
                at com.sapportals.wcm.repository.ResourceException.<init>(ResourceException.java:163)
                at com.sapportals.wcm.repository.NotSupportedException.<init>(NotSupportedException.java:64)
                at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.copy(CmNamespaceAndContentManager.java:1313)
                at com.sapportals.wcm.repository.ResourceImpl.internalCopyManager(ResourceImpl.java:3142)
                at com.sapportals.wcm.repository.ResourceImpl.internalCopy(ResourceImpl.java:3232)
                at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:2041)
                at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:2014)
                at com.sapportals.wcm.rfadapter.CopyUtility.copy(CopyUtility.java:116)
                at com.sapportals.wcm.service.template.TemplateService.createFromTemplate(TemplateService.java:409)
                at com.sapportals.wcm.rendering.uicommand.cm.UITemplateCommand.execute(UITemplateCommand.java:129)
                at com.sapportals.wcm.rendering.control.cm.CommandDispatcher.onExecute(CommandDispatcher.java:77)
                at com.sapportals.wcm.rendering.control.cm.WdfProxy.onExecute(WdfProxy.java:2152)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:386)
                at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:175)
                at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
                at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
                at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
                at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
                at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
                at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
                at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
                at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
                at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
                at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
                at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
                at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
                at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
                at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
                at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
                at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
                at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Thanks,
    Viji

    Hi Viji,
    have you also logged a support message in the Online Support System?
    If not, please do so. SDN will not necessarily trigger a bugfix from SAP development, in case this here makes one necessary.
    Regards,
    Karsten

  • Creation of dynamic pages on the fly based on the user information provided

    Hi,
    I would like to know how to pass the parameters between two pages in a page group.
    If the user submits some data from 1st page(say clicking of the submit button)the next page should be displayed automatically and the data that has been appended to the URL should be collected by the following page and should be ready for processing.
    Kindly provide me pointers to do the same.
    Thanks and regards,
    Aditya

    Hi,
    virtual keyfigure and virtual characteristic are infoobjects in infoprovider that not store data/values,but populated in query execution time, via user exit
    (zxrsrtop, zxrsru02, zxrsruzzz).
    goto transaction SMOD, enter enhancement RSR00002 and display the documentation. In there you'll find some sample coding (the include plus the coding necessary in that include).check the following blog.
    /people/sanyam.kapur/blog/2005/04/30/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-ii
    I have "How to" document give me ur email id , will send u..

Maybe you are looking for

  • CRASH when making a new folder in save for web

    When going into Save For Web, and saving a picture, and clicking the little "new folder" button, Photoshop crashes and closes instantly. This is 100% reproducible. Can we expect this to be fixed? Details: Windows 7 x64, fully updated Photoshop CS5 x6

  • How to add an SAP distribution list to transport?

    Hi All, I have created a shared distribution list in SAP using SO15. Can anyone suggest me how to add this list to a transport? or I need to create this in each environment. Please suggest on this issue. Thanks in advance Prady

  • How to use used backed up itunes on new computer?

    I've been searching and searching and I can't find a specific answer to what I need to do.  This is what I want to do.  I have a Macbook pro and I want to create a new itunes library for my husband to use for his library.  Easy enough, I found instru

  • How to create a Blur overlay on to mask parts of an FLV import

    I am a Flash Novice, using Adobe Flash CS3 Pro. I have a number of training recordings (system demonstrations) that I've created using Camtasia, and are output in FLV format (the requested output format). The training recordings contain some live dat

  • Scanner no longer recognized

    Elements 10 Organizer no longer recognizes HP Photosmart Plus scanner  after attempt to install Inspiration upgrade.  Inspiration would not recognize it, so I removed it and returned to PSE 10.  What can I do?