Change Cursor During Processing?

Hi everybody!
Is there a way to change the mouse cursor while processing a JSP page? For example my page looks like this:
<HTML>
<% change cursor to type 'wait' %>
<% do a large task on the server which takes some time.... %>
<% change cursor to default %>
</HTML>
Thanks in advance!
/Paul

No. A JSP does not have a mouse cursor, as it runs on the server and not on the client. Here's what happens in real life:
1. At the client browser, the user clicks on a link or a Submit button.
2. The server starts running the JSP file and turning it into HTML. The client does nothing but wait.
3. When it is finished generating the HTML, it sends it to the client.

Similar Messages

  • Change cursor during drag

    hi,
    I have two instances of a class (call them A and B) that subclasses JTree and need to change the cursor to show when it is acceptable to end the drag. Theres also a Jlabel that you can drag stuff onto. The thing is
    1) A isnt allowed to drag to the label
    2) B is allowed to drag to the label
    3) A is allowed to drag to B
    4) B isnt allowed to drag to A
    so far everything can drag to everything, and I can get what actually happens to work only when it should but cant get the cursor to change middrag to show this!
    can anyone help - the tutorials go on about ACTIONs but I cant see how this helps in my case since the ACTIONs are the same, its just the src/tgts that differ.
    is the place to do this a DragSourceListener or DropTargetListener too??
    thanks,
    andrew

    thanks for the reply, but my problem is
    1) you cant change the cursor in Target events (?)
    2) in source events you cant detect which component you are over
    and even if I could change the cursor in the Target stuff, I cant detect what component the source is to decide if it is allowed to send stuff!

  • Changing type of process during runtime

    hi to all/Mike/Antony
    is there anyway to change a sync process to async during runtime?
    thnx in advance
    KAM

    hi
    sorry for making confusion by putting a (little) wrong question because of being in a hurry...
    it was supposed to be that " is there anyway to change the type of the process from async to sync after executing the process"
    i m sorry for taking ur time by putting a wrong question!
    actually i made a sync process of "HelloWorld " but mistakenly declared its type as "async" and it did not generate the required output, because it was an async process and i was treating it as a sync one!
    thanks for ur interest. i'll write, as i find the solution.
    KAM.

  • Error message during processing in BI

    1.i am loading the data into infoobject.
    2.got error in text data load.
    3.master info object have compound obj 0COUNTRY
    4.and other normal fields are 0TXTSH,0LANGU,sold-to-party.
    5.there is no PSA in this..its direct update to INFOobject.
    The error message is:
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Update
    Diagnosis
    There are duplicates of the data record 2. with the key '3.' for characteristic 1..
    Procedure
    If this message appears during a data load, maintain the attribute in the PSA maintenance screens. If this message appears in the master data maintenance screens, leave the transaction and call it again. This allows you to maintain your master data.

    Hi KP,
    In the details tab,
    1.under Transfer (IDOC and Trfc):
       Data Package 1 : arrived in BW ; Processing : Error records written to application log
    2.Processing (data packet): Errors occurred
       Update ( 0 new / 0 changed ) : Errors occurred
       Error records written to application log
       0TRZONE : Data record 1 ('0000000001D ') : Duplicate data record
       0TRZONE : Data record 2 ('0000000002D ') : Duplicate data record
       Error 4 in the update
    3. Process chain error
    these are the error details.

  • Exception caught during processing mail message

    I am getting the following error in CC monitoring for my sender mail adpater:
    exception caught during processing mail message; java.io.IOException: invalid IMAP status response; not finding * STATUS, but 001I NO The requested item could not be found.
    Please tell me how to resolve ?

    NOw when i changed the protocol from IMap to POP3 the error is
    exception caught during processing mail message[18]; com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/MessageTransformBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/MessageTransformBean.

  • BPM CBS - Exception during process compilation

    Hi Experts,
    I am developing a BPM process using SAP NWDS 7.2 and a remote NWDI track.
    I have the following issue: When I edit my process, I create an activity for submit this changes. Later I try to check-in the activity and everything is okay, but when I try to activate it, the build finished with Errors. This is very unusual because locally I can to build this project without errors, and I can to deploy it directly to the Server without errors.
    The summary of error in CBS Build Log is the following:
    PF.DefaultDataArea:DCs/******.***/compose/pre/pr/pm/_comp/src/bpmn/procesoprecontractual mdn.bpmn#E0A5ADB5FB36314E74BD11E09935002564647A9C (MRI), CompilerType: BPMN2CSVCOMPILER
    Compiling process 'Proceso Precontractual' ...
    Error: "BPM.bp.00006" BC-BMT-BPM-SRV com.sap.tc.glx.BpemTask execute()- Exception during process compilation, compilerType:
    BPMN2CSVCOMPILERcaused by java.lang.IllegalArgumentException:
    com.sap.sdo.impl.xml.XmlParseException: Invalid byte 2 of 4-byte UTF-8
    sequence.
    Ant build finished with ERRORS
    java.lang.IllegalArgumentException:
    com.sap.sdo.impl.xml.XmlParseException: Invalid byte 2 of 4-byte UTF-8
    sequence.
    Error: Build stopped due to an error: java.lang.IllegalArgumentException:
    com.sap.sdo.impl.xml.XmlParseException: Invalid byte 2 of 4-byte UTF-8
    sequence.
    MOIN forced shutdown initiated.
    I checked the file "DCs/*****.**/compose/pre/pr/pm/_comp/src/bpmn/procesoprecontractual mdn.bpmn" and it doesnu2019t have any invalid characters like latin characters "á,é,í,ó,ú,ñ". I donu2019t know what other kind of characters are invalid or what is the exactly error.
    Thanks,
    Julian Andres Sanchez

    Hello,
    This issue is resolved now.
    The problem was with the file system space on the Unix server(on which portal is installed).
    The server administrators and the Basis team extended the disk space and issue got resolved.
    Thanks for all your inputs.
    Sonali.

  • Problem during Process Order Confirmation - COR6N

    Dear All,
    We are into process industries
    Till now we are creating different BOM for each section and different process orders for each BOM.
    For example Pulverize, Acid MIXING, Continuous Rotery, Blending and Packng.
    Now we have created new BOM for FG - showing all input/output of  RM, SFGs.  In Recipe, define operation for each section. and assign operation to material.  I have attached screenshot of Recipe Operation.
    During process order confirmation, system shows movement type of all material perfectly during each phase. But during confirmation of last phase system does not show 101 movemet of FGs.
    I have checked in Recipe, control key is ok i.e. Automatic GR,  in OPK4 setup is also correct.
    We have created new BOM and Recipe. There is no change in other configuration parameter.
    Thanks and Regards,
    Nirav

    Hi Nirav
    The automatic goods receipt is defined by the operation/phase control key.
    Control key PI03 has the automatic goods receipt setting by defaul.
    Analyzing the screenshot I could observe that this control key is assigned to all the opration/phases, however, it should only be assigned to the last operation/phase, where the goods receipt will actually take place.
    For all the previous operations/phases you should use a different control key, without automatic goods receipt, such as PI01.
    BR
    Caetano

  • Change cursor to hourglass

    i want to change cursor to hourglass when a new servlet is loading. working of my program is that on click of submit,the present servlet unloads and a new servlet is loaded.this new servlet takes time. so i can't write the code in prevoius servlet for cursor and the new servlet which is being loaded changes cursor to hourglass only after fully loading. please help me in this regard

    Write the javascript, flush the output stream, and the hourglass should be shown right away...
    note: You should write some stuff before the javascript -- send some text maybe the top of the output page. IE has some internal buffer you have to fill up before server-side flushing works.
    Again: You should make sure you send the javascript and flush before you start processing.
    Also: You will not be able to do a send redirect if you use this approach. If this is not satisfactory, you could try using one of the "Please Wait" mechanisms described on this site (use the forum or google search for JSP "Please Wait" to find them) to do the job.

  • How to handle scrap occured during processing

    Hi all,
    I am facing problem with handling the scrap occured during processing. The case here is i want to scrap the material eg ABC, and want to sell the same material with different material no., unit of measurement.
    The present process is as below,
    The scrap occured during process is been collected & is scraped using Tcode MB1A, with movement type 551 or is added in the scrap feild during confirmation CO15. As per my knowledge this scrap is accounted against the costcenter and then it is out of the system. Now in order to sell the scrap the same scrap with new material no.is loaded back in the system using movement type 501. The same is been sold.
    Requirement is that i want the link between the scrap & the scrap been sold.
    Want to avoid movement 551 & 501, which is in practice rt now.
    The same process is followed from past 5 months. So we cant go with the option of Byproduct / phantom assembly as we need to change all master data.
    Can some one suggest me how to go about it, its urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Regards,
    Arun

    we will take a simple scenario - decide if this helps you
    1. Input RM1 and RM2 (both rawmaterials to produce a finished goods(fg))
       FG1
    2. Now one scrap is produced -wecan call it as SC1
    3. your bom shoudl have positive entries for the RM1 ,RM2 -which will be consumed during the production confirmation
    4. the SC1 the scrap material needs to have a negateive qty in the BOM which will be getting produced with 531 movement type
    5. so this scrap will be avilable in scrap and the same can be sold and processed futher
    this is one of the best practiices if
    a. know what qty of scrap willbe produced
    b. if we have diffeent material number for scrap ..
    In another case if u need to sell the same material then keep the same material with the negative qty in the bom so the same material will be produced with 531 mvt type.
    Thansk and regards..

  • Error from opmn during process control operation

    This is the error I get while starting "home" instance on Windows Server 2003 SP2 32b box.
    Product - AS10gR3 (10.1.3.4)
    ===
    oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:70)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:70)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:31)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:40)
    =====
    Tried - getting OPMN error while starting Oracle SOA Suite - doesnt work.
    Any ideas anyone?

    Hi,
    Can you post the error from the begining, this is a generic exception and could be for any reason.
    Also, please refer:
    After Changing The HTTP Port To 80 Attempting To Start OHS Service Fails To Start Apache [ID 1104898.1]
    Error During Stopping Oracle Application Server Components With "Error from opmn during process control operation" [ID 941822.1]
    "oracle.appserver.startupconsole.model.ConsoleException: An unknown OPMN error" Thrown by OC4J During Startup Running OIM [ID 832025.1]
    Regards,
    Mithun

  • How can changes happened during the cube activation  be nullified.

    Hi all,
    I was trying to activate some business content infocube in the dev.server. I selectecd data flow before. In the process I collected all infoobjects associated with the cube and all the info-objects which are associated with that info-objects. When I installed the cube some of the customised business content info-objects associated with the cube got over written by the delivered version. We dont have the documentation which provides the information on which are all the infoobjects that were modified and which were not.
    Can any one give some idea how the changes happened during the cube activation can be nullified.Or how can I find out which were the info objects which were customised before business content was again activated and which are those changes.
    Regards,
    Anand

    Hi Anand,
    As long as you did not activate the Cube (= not activate BC, but cube itself)
    you can compare the changed cube with the active cube (Change cube screen, use button Version Comparison)
    Udo

  • Change query during runtime

    Dear Friends,
    I have procedure to retrieve data from tables, this procedure uses cursor to fetch the records into the required data block.
    i need to change the where clause of the query which used to build the cursor during run time based on data will be gathered from another data block. how can i achieve that??
    is there any suggestions???
    thanks in advance
    Mohammad

    Hello,
    Check Re: Control Block
    for changing the WHERE attribute of a block.
    In your case, you want to set the WHERE condition for the cursor and this depends on a value or values you get from another block. In this case, it is best to give the user a way to either enter that condition or store the result you get from the other block in a variable and use that variable in your cursor.
    You can use a parameter to store that condition and this will be local to the current form. If however you need to get that from another module, then you might need to use a parameter list and you can pass the WHERE condition in there to the module that has your cursor.
    Hope this helps.

  • How to change cursor when need to open a new dialog?

    Hi,
    I try to change cursor to WAIT when client open a new dialog, which it tell user the program was running to ready display new dialog.
    My code was like the following
    scene.setCursor(Cursor.WAIT);
    someclass.showMyDialog(); // The dialog was a new stage with StageStyle.UTILITY style
    scene.setCursor(Cursor.DEFAULT);
    But the cursor didn't be changed, I didn't know it why? Anybody know it? thank in advance!
    I had search the google, and didn't find the perfect answer, most of they was like to use setCursor(Cursor.WAIT) mode.
    the current ENV in my host was: windows 7 and Java
    java version "1.7.0_13"
    Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
    Best regards,
    Edited by: user13005878 on May 27, 2013 1:48 AM

    If you have a long running process ("long" means anything the user will notice), you need to run it in a thread other than the JavaFX Application Thread. In other words, you need to change the cursor to the wait cursor on the FX Application Thread, launch a user-defined thread for your long running process (connecting to the database), and once that thread is complete, show the dialog and change the cursor back on the FX Application Thread again. If you try to do everything on the FX Application Thread, you'll likely block that thread and prevent any changes from being visible to the user until the long process is complete (so you'll never see the wait cursor).
    All that said, and as jsmith said, there are some bugs in JavaFX 2.2 with the appearance of the cursor. So on my system (Mac OS X 10.7.5) the "correct" behavior is only observed with JavaFX 8.
    This is an example of doing things wrong. Here I don't see any change to the cursor, even on JavaFX 8:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Cursor;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    public class WaitCursorDemo extends Application {
      @Override
      public void start(Stage primaryStage) {
        final BorderPane root = new BorderPane();
        final Scene scene = new Scene(root, 600, 400);
        Button button = new Button("Do something time-consuming");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            System.out.println("Starting...");
            scene.setCursor(Cursor.WAIT);
            try {
              Thread.sleep(2000);
            } catch (InterruptedException exc) {
              exc.printStackTrace();
            scene.setCursor(Cursor.DEFAULT);
            System.out.println("Done");
        root.setBottom(button);
        primaryStage.setScene(scene);
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
    }This works on JavaFX 8: after pressing the button I see the wait cursor for two seconds, then it reverts to the default cursor.
    import javafx.application.Application;
    import javafx.concurrent.Task;
    import javafx.concurrent.WorkerStateEvent;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Cursor;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    public class WaitCursorDemo extends Application {
      @Override
      public void start(Stage primaryStage) {
        final BorderPane root = new BorderPane();
        final Scene scene = new Scene(root, 600, 400);
        Button button = new Button("Do something time-consuming");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            System.out.println("Starting...");
            scene.setCursor(Cursor.WAIT);
            Task<Void> task = new Task<Void>() {
              @Override
              protected Void call() throws Exception {
                try {
                  Thread.sleep(2000);
                } catch (InterruptedException exc) {
                  exc.printStackTrace();
                return null;
            task.setOnSucceeded(new EventHandler<WorkerStateEvent>() {
              @Override
              public void handle(WorkerStateEvent event) {
                scene.setCursor(Cursor.DEFAULT);
                System.out.println("Done");
                // Display your dialog now you have the data from the database...
            new Thread(task).start();
        root.setBottom(button);
        primaryStage.setScene(scene);
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
    }

  • Vendors can see the price during process bid

    Hi, friends
    When I add position whit price from catalog to bid invitation, vendors can see this price during process bid and it is wrong. How can I change it?
    And one more moment u2013 our uses should see the price during bit invitation process.

    The syncing is happening through the cell network not the wifi so it didn't help to turn off the router.  Here's what I ended up doing that finally worked:
    I restored the backup.  Before I could use the phone, it takes me through a few steps.  On the icloud step, I actually skipped it, so I didn't enter my password.  At that point the phone was usable again so I went to settings>icloud and turned off Contacts.  I double checked and my contacts were still on my phone.  THen I went to settings>icloud and entered my password and the turned contacts back on.  At that point it asked me if I wanted the contacts merged and I said yes.  A few minutes later my contacts were still on my phone and I checked my icloud account online and the contacts had been syced there as well.  Finally!  It worked!

  • Sender Mail Adapter Error: exception caught during processing mail message;

    HI , I am configuring mail to file scenario. Need to read mail content (no need to capture From,TO or Subject details) and create a file with the content in the mail.
    Need to read mails from microsoft outlook. Exchange server has been configured for POP3 protocol.
    Following are the details provoding in sender mail adapter:
    URL: provided url in the format: pop://<server name>
    Authentication method: plain
    provided user credinetions to access mails.
    poll interval - 1min
    content encoding none.
    processing parameters : quality of service-exactly once
    Since there is no need to capture From,TO or Subject details, didn't select the option - use mail package.
    Verified for unread mails in the mail box and made sure that there are few unread mails.
    Also, created data types and other components in IR and completed mapping.
    But after starting sender mail communication channel, getting error "exception caught during processing mail message; java.lang.NullPointerException" in RWB-adapter-communication channel monitoring.
    please let me know what needs to be done to resolve this error.
    Thanks.

    HI Stefan, i tried, but still it is giving same error. Yes, i am able to access outlook mail with the user credentials given in the communication channel to access exchange server.
    I am using message protocol: xipayload . Also since i dont have to capture TO,from,subject details., created data type just with one element of type string, not in the standard format .Does this makes any difference.

Maybe you are looking for

  • Satellite c855d-s510​3 recovery please

    Good morning, Im here asking for help to restore/recover my toshiba laptop. it just recently went to Blue recovery screen stating ....... your pc couldnt start properly. the applicarion or operating system couldnt be loaded because a required file is

  • Automatic payment run Program control points

    I want to know when we are configuring APP through code FBZP. then we want control in terms of : 1. If postal code is missing in vendor master data then it should show as exception in APP 2. If account details , bank key detail  fields are not inputt

  • FrameMaker 8 to PDF: disappearance of blocks of text disappear

    Since updating to FrameMaker 8, have been unable to generate a usable PDF file. Blocks of text are missing from the PDF. After "repairing" FrameMaker 8, able to generate accurate PDF file once or twice, then problem starts again. Anyone know what thi

  • Error HUDIALOG 038 while deleting HU's via VL32N (Inbound Delivery)

    Dear All, We have a situation here wherein we are creating Inbound deliveries automatically from Outbound delivery during goods issue. As a result the (Handling Units) are also assigned from  outbound  to inbound delivery. We want to delete these HU'

  • Intermedia performance as respect to the library cache

    I have been trying to tune intermedia indexing on its creation (oracle 8.1.7). My developers try to index some data. There are only 30K rows for 2 tables. Table 1) 2 columns 1 varchar2(50) and 1 char(1) table 2) 2 columns 1 varchar2(50) and 1 blob Av