Problem with tiles ..VERY URGENT!

I have a problem using tiles.
I have a search page called search.jsp. It calls a searchResults.jsp page when user enters searchcriteria and clicks the search button. I want to have the results on the same page in the bottom part.
I tried using Struts tiles but I have to make it understand that my results should appear on the same page at the bottom.I could not figure it out.
Please help me out.Its very urgent.
Thanks

Sounds VERY URGENT to me....

Similar Messages

  • Problem with graphics- very urgent

    Who knows how is it possible to call the graphic method for example filling a separate hexagon in the conglomerate of hexagons from another class, without
    using method graphics??
    Thank you in advance!!

    How is this very urgent?

  • Problem with DataSource lookup(Urgent)

    HI,
    I am facing a unique problem. I am migratinga application from weblogic to WAS. In a web module I wrote a normal class which will get the initial context of the server and create a connection object for the use of servlets. It is working fine in weblogic but when i have deployed the samething in WAS it is giving exception
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MLJNDI.
    where MLJNDI is my DataSource jndi name.
    can anybody suggest me the solution?.This is very urgent.
    Thanks in advance.
    Ashok.

    It is not clear if you already created a Datasource to a specified database. This can be done via the Visual Admin.
    Services --> JDBC Connector. There you can upload vendor specific drivers and bind it to a database.
    This is possible usings the standards. JDBC 1.x and 2.0 way.
    Success.

  • Problem with output type--urgent

    Hi experts,
      My requirement is i need to post a vendor lkiability. For that we create a output type 'ZALV'. We also created a report program . In nace we attached the program and output type with medium '8'. we call the same subroutine Entry which available in standard program (CMSR_OUTPUT_ENTRY whcich is attched to medium 8 and o/p type:CMSF). Up to this one my output type works fine and processed successfully.In that Entry some function modules called.
    When i added my own code in report program it gives a error
    saying that '   POSTING_ILLEGAL_STATEMENT".
       Statement "CALL SCREEN" is not allowed in this form.
    There is probably an error in the program
    "SAPLTAX1".
    This program is triggered in the update task. There,
    following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    In my code i am not used these statements also.
    The error in code is:PERFORM skftabn_ergaenzen.
    xbset-first = 1.
    xkzinc = space.
    IF bkpf-xmwst = 'X'.
      ok-code = 'CALC'.
      IF bkpf-xsnet = space.
        xkzinc = 'X'.
      ENDIF.
    ELSE.
      ok-code = 'PRUF'.
    ENDIF.
    IF i_xsimu NE 'S'.
      xnodia = 'X'.
    ELSE.
      xnodia  = space.
      ok-code = 'SHOW'.
    ENDIF.
    Bild dunkel prozessieren -
           evtl. veraenderte Steuern merken
    IF xusvr = 'X'.
      PERFORM ustaxes_detail USING i_bkpf.
    ELSE.
      IF sy-tcode(1) = 'M'
      or bkpf-tcode(1) = 'M'.
      OR bkpf-tcode(1) = 'M' OR NOT dynpro_501 IS INITIAL.
        CALL SCREEN 301.
      ELSE.
        CALL SCREEN 300.
      ENDIF.
    ENDIF.
    ok-code = space.
    Please give me a solution --- It is very urgent.
    Regards
    Pratap.M

    Hi ,
    Use this one . These are standarrd includes you need to include.
    INCLUDE riprid01.            " General DATA and TABLE struct.
    INCLUDE riprif01.               " General PRINT routines
    PERFORM print_paper.
    Main Form which is called.
    FORM print_paper.
    Import Data ---Copied From SAP Program
      PERFORM data_import. * This you have to copy from standard SAP program
    *&-- Populate internal table for header part of form.
      PERFORM data_population.
    Your scrpit printing logic will be done in this.
    *&--Script printing.
      PERFORM main_print.               " Print the PAPER now
    Do reward.
    Thanks,
    Madhura

  • Problem with delta load urgent!!

    Hi,
    I have a problem with delta load
    We have an IP, which loads data from R/3 system daily, its a delta load to the ODS and it updates to the cube with the selection on Company Codes and 0FISCPER
    we are in 3.5 system
    For a couple of company codes A & B, the init was done for the period 07.2010 to 12.2099 and after tht the deltas are loaded from 07.2010 till 12.2099 and there's no pblm with tht
    Now, there was some updation in R/3 system and the data was maintained for the company codes in A& B for the FISCPER 001.2010 to 006.2010, for which init wasnt maintained...
    now how shall we need to load the init in this case? dnt ask me how the postings was done in R/3, but my pblm is purely related to the loading data in BW from R/3, as its very imp for the customer to see the data from 01.2010 to 12.2010 in reports, but the data was only available in reports from 07.2010 onwards
    do i need to create another IP and maintain the init for 01.2010 to 06.2010? so tht this selection will automatically appear in the ODS delta loading infopackage
    pls throw ur inputs ASAP
    thank you

    Hi Prince,
    No need to maintain any Init for this data, It will be enough if you can load the data from jan 2010 to jun 2010 into your Info Cube.
    Follow the below steps:
    1)create full load IP for this data source.
    2) give the selection as A and B company codes and 0FISCPER as 001.2010 to 006.2010
    3) in menu bar, click on scheduler --> select full repair request
    4) In the next screen check the check box and save
    5) Now execute the IP, it will the data with out disturbing your daily delta.
    follow the same procedure to load data till to your Info Cube.
    Please revert if you have any questions
    Regards,
    Venkatesh

  • Problems with logistic cockpit: URGENT!!

    Hi,
    I have a few verifications with LO cockpit.
    I have dobne the following steps.
    1. Activated the datasource.
    2. The update group shows active.
    3. In maintenance I have selected the fields.
    4. Deleted the setup tables.
    Now my question is when I run the intial set up do I need to bring the system down so that no updates are taking place.The second question is when I do I set the update to be queued update . When does it get set for the delta loads.
    We are writing a function module to put extra fields on the delivery table and would need to pull these fields in the standard extractor. Can I be guided as to how to accomplish this.
    Please help me out as it is very urgent.
    Thanks
    Amit

    Hi Siggi,
    Here is the function module:
    name: Z_PALLET_SPOT_CALC_DELIVERY
    FUNCTION z_pallet_spot_calc_delivery.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_VBELN) LIKE  LIKP-VBELN DEFAULT '86000801'
    *"     VALUE(I_POSNR) LIKE  LIPS-POSNR OPTIONAL
    *"     VALUE(I_VKORG) LIKE  LIKP-VKORG DEFAULT 'US01'
    *"     VALUE(I_VTWEG) LIKE  LIPS-VTWEG DEFAULT '00'
    *"  EXPORTING
    *"     VALUE(E_PALLET_SPOT) LIKE  ZZVS001-SPOT
    *"     VALUE(E_REAL_PALLETS) LIKE  ZZVS001-SPOT
    *"     VALUE(E_TOTAL_WEIGHT) LIKE  ZZVS001-BRGEW
    *"     VALUE(E_TOTAL_VOLUME) LIKE  ZZVS001-VOLUM
    *"     VALUE(E_TOTAL_PALLETS_3) LIKE  ZZVS001-ZSPOT_3
    *"  TABLES
    *"      T_LIPS STRUCTURE  LIPS OPTIONAL
    *"      T_ZZVS001 STRUCTURE  ZZVS001 OPTIONAL
    *"      T_ZZVS0012 STRUCTURE  ZZVS0012 OPTIONAL
    *"  EXCEPTIONS
    *"      NO_DATA_FOUND
      DATA: l_lfimg     LIKE  lips-lfimg,           " Delivery Quantity
            l_matnr     LIKE  lips-matnr,           " Material Number
            l_meins     LIKE  lips-meins,           " Base Unit of Measure
            l_vrkme     LIKE  lips-vrkme,           " Sales Unit
            ls_zzvs001  LIKE  zzvs001,
            ls_zzvs0012 LIKE  zzvs0012.
      CLEAR: e_pallet_spot, e_real_pallets, e_total_weight, e_total_volume,
             e_total_pallets_3, z_spots_3, z_spots_1, z_tot_wgt, z_tot_vol.
      FREE:  t_zzvs001,                   "Clear header line and contents
             t_zzvs0012.
      IF NOT i_vbeln IS INITIAL.
        IF NOT i_posnr IS INITIAL.
          SELECT *
          INTO   TABLE t_lips
          FROM   lips
          WHERE  vbeln  EQ  i_vbeln
            AND  posnr  EQ  i_posnr.
        ELSE.
          SELECT *
          INTO   TABLE t_lips
          FROM   lips
          WHERE  vbeln  EQ  i_vbeln.
        ENDIF.
        IF sy-subrc NE 0.
          RAISE no_data_found.
        ENDIF.
      ENDIF.
      LOOP AT t_lips.
        CHECK     t_lips-nopck IS INITIAL  " Indicator not relevant for pici
          AND NOT t_lips-komkz IS INITIAL. " Indicator for picking control
        l_matnr  =  t_lips-matnr.
        l_lfimg  =  t_lips-lfimg.
        l_meins  =  t_lips-meins.
        l_vrkme  =  t_lips-vrkme.
        CLEAR: ls_zzvs001,                     " Clear header line
               ls_zzvs0012.
        ls_zzvs001-mandt   =  sy-mandt.
    Convert sales unit of measure to base unit of measure
        IF l_meins NE l_vrkme.
          PERFORM  mat_unit_conv
            USING  l_lfimg                     " Delivery Quantity
                   l_matnr                     " Material Number
                   l_vrkme                     " Sales Unit
                   l_meins                     " Base Unit of Measure
          CHANGING dummy_f
                   zz_umren
                   zz_umrez
                   rc.
          CHECK rc = 0.
          l_lfimg  =  dummy_f.
        ENDIF.
    Convert a base unit of measure to 1 pallet
    MENG is the quantity to be converted in base unit of meas ie 'CA '
    cases. Returned ZZ_UMREZ contains the number of cases per 1 pallet
        SELECT SINGLE *
          FROM marm
         WHERE matnr = l_matnr
           AND meinh = 'PAL'.
        CHECK  sy-subrc = 0.
        PERFORM  mat_unit_conv
          USING  zz_lfimg                           " Constant 1000
                 l_matnr                            " Material Number
                 'PAL'                              " Pallet
                 l_meins                            " Base Unit of Measure
        CHANGING dummy_f
                 zz_umren
                 zz_umrez
                 rc.
        CHECK    rc = 0.
    Get weight and volume and product attributes for material
        PERFORM  mat_maapv
          USING  l_matnr
                 i_vkorg
                 i_vtweg
        CHANGING maapv
                 rc.
        CHECK    rc = 0.
    For PALLET SPOTS:
    If there is any value in the hundredths decimal position, it will
    round the tenths decimal position up by 1 tenth.  Because of float-
    ing point calculations this is accomplished by adding .444 to calc
        CLEAR: z_spots, vz_spots.
        IF l_lfimg NE 0.
          z_spots   = ( ( l_lfimg * zz_umren ) / zz_umrez ) + z_5.
          vz_spots  =   ( l_lfimg * zz_umren ) / zz_umrez.
          vz_spots  =     vz_spots + z_4.
        ENDIF.
    Calculate Number of Real Pallets
        e_real_pallets           =  e_real_pallets + z_spots.
        ls_zzvs001-real_pallets  =  z_spots.
    Product attribute 4 = Top Load product
    Product attribute 5 = Single Stack Prod(reserves 2 pallet spots)
    Single Stack: move calc'd field to dec4_1 to get value in tenths
      before multiplying by factor of 2.
    Product attribute 6 = Half Mod Prod(reserves 1/2 pallet spots)
      Divide by factor of 2
    Product attribute 7 = Qtr Mod Prod(reserves 1/4 pallet spots)
      Divide by factor of 4
        z_spots_cpy            =  z_spots.
        IF maapv-prat7         =  'X'.           " Quarter Mod Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zqtrmod   =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot / 4.
          vz_spots             =  vz_spots / 4.
          z_spots              =  ls_zzvs001-spot.
        ENDIF.
        z_spots_cpy            =  z_spots.
        IF maapv-prat6         =  'X'.           " Half Mod Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zhalfmod  =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot / 2.
          z_spots              =  ls_zzvs001-spot.
          vz_spots             =  vz_spots / 2.
        ENDIF.
        IF maapv-prat5         =  'X'.           " Single Stack Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zsnglstk  =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot * 2.
          z_spots              =  ls_zzvs001-spot.
          vz_spots             =  vz_spots * 2.
        ELSE.
          ls_zzvs001-spot      =  z_spots.
        ENDIF.
        IF maapv-prat4         =  'X'.          " Top Load Product
          ls_zzvs001-ztopload  =  z_spots_cpy.
        ENDIF.
        ls_zzvs001-prat4   =  maapv-prat4.
        ls_zzvs001-prat5   =  maapv-prat5.
        ls_zzvs001-prat6   =  maapv-prat6.
        ls_zzvs001-prat7   =  maapv-prat7.
        ls_zzvs001-brgew   =  maapv-brgew * l_lfimg.
        ls_zzvs001-gewei   =  maapv-gewei.
        ls_zzvs001-volum   =  maapv-volum * l_lfimg.
        ls_zzvs001-voleh   =  maapv-voleh.
        IF maapv-prat4  =  'X'
        OR maapv-prat5  =  'X'.
          ls_zzvs001-tlss  =  z_spots.
        ENDIF.
        IF maapv-prat7 = 'X'.                    " Quarter Mod Product
          ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 4.
        ELSEIF maapv-prat6 = 'X'.                " Half Mod Product
          ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 2.
        ENDIF.
        ls_zzvs001-zspot_3   =  vz_spots.
        APPEND ls_zzvs001  TO  t_zzvs001.
        z_tot_wgt  =  z_tot_wgt + ls_zzvs001-brgew.
        z_tot_vol  =  z_tot_vol + ls_zzvs001-volum.
        z_spots_3  =  z_spots_3 + vz_spots.
        z_spots_1  =  z_spots_1 + ls_zzvs001-spot.
    Load additional information into secondary table Structure.  Quantity
    has already been converted to Base Unit of Measure
        t_lips-matnr  =  '000003400024000000'.
        t_lips-lfimg  =  10023.
        t_lips-meins  =  'CA'.
        IF maapv-prat7      =  'X'.                " Quarter Mod Product
          l_lfimg = t_lips-lfimg / 4.
        ELSEIF maapv-prat6  =  'X'.                " Half Mod Product
          l_lfimg = t_lips-lfimg / 2.
        ELSE.
          l_lfimg = t_lips-lfimg.
        ENDIF.
        PERFORM  get_additional_keyf
        USING    t_lips-matnr                  " Material Number
                 l_lfimg                       " Delivery Quantity
                 t_lips-meins                  " Base Unit of Measure
        CHANGING ls_zzvs0012-ztotpalq          " Total Pallets
                 ls_zzvs0012-zfullpalq         " Full Pallets
                 ls_zzvs0012-zfulllayq         " Full Layers
                 ls_zzvs0012-zfullcaq          " Full Cases
                 ls_zzvs0012-zmisccaq.         " Miscellaneous Cases
        ls_zzvs0012-mandt    =  t_lips-mandt.
        ls_zzvs0012-vbeln    =  t_lips-vbeln.
        ls_zzvs0012-posnr    =  t_lips-posnr.
        ls_zzvs0012-matnr    =  t_lips-matnr.
        ls_zzvs0012-zspot_3  =  ls_zzvs001-zspot_3.
        APPEND ls_zzvs0012  TO  t_zzvs0012.
      ENDLOOP.
       this pallet total is 1 decimal precision
      e_pallet_spot  =  z_spots_3.
      IF maapv-prat7      EQ 'X'.                 "Qtr Mod
        e_real_pallets    =  e_real_pallets / 4.
      ELSEIF maapv-prat6  EQ 'X'.                 "Half Mod
        e_real_pallets    =  e_real_pallets / 2.
      ENDIF.
       this pallet total is 3 decimal precision
      e_total_pallets_3  =  z_spots_3.
      e_total_weight     =  z_tot_wgt.
      e_total_volume     =  z_tot_vol.
    ENDFUNCTION.
    I hope thats what is needed. Look forward to your kind reply.
    Thanks so much in advance
    Amit

  • Problem with ODS activation -- Urgent

    Hi All,
    I have a problem with ODS activations, when I trying to activate ODS data automatically/ Manually. It is going to short dump.
    Could you anybody pls help me in this issue.
    Thanks in Advance
    Narendra

    Sorry for delay,
    I raised an OSS messsage and waiting from reply.
    The ODS fetch the data from 6 sources. all the 5 sources data is correctly updating in the ODS. I have ODS activation problem with only one soure data.
    The error is
    RSMO
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    Activation of data records from ODS object ZPMPRCST terminated
    SM37 Job log
    Error Message from Job log (SM37) (Highlights of the Job log)
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
    Data to be activated successfully checked against archiving objects
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
    Data to be activated successfully checked against archiving objects
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Report RSODSACT1 ended with errors
    Job cancelled after system exception ERROR_MESSAGE
    RSODSACTREQ  Table Entries
    Table:          RSODSACTREQ                                                                               
    Displayed Fields:  10 of  10  Fixed Columns:                3  List Width 1000                                                                               
    InfoCube       Request ID                     Data packet number             Boolean    Boolean   Request ID                                                 ODS operation    Activ. status                                                                               
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000000             X       X             ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         0            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000001             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                        4            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000002             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         4            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000003             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         4            

  • Problems with .bat files [urgent]

    I have succed to do so that my java program can run a .dat file, but now I wonder what I should write in it.
    I want to run a file called Geo.class in a sub folder called \Subclasses, so what should I do?
    Here is the folder system:
    C:\java\runClasses.bat <--- It's here the .bat file should be
    C:\java\Subclasses\Geo.class <----- and here is the .class file that the bat file should execute
    So could anyone say what I should write in the .bat file for this to work?? It's very urgent!!

    It depends upon whether your Geo class is in a package or not. If you have a line that says "package Subclasses" (for instance) then you need to say "java Subclasses.Geo" in your bat file.

  • Problem with "tile" effect in FCPX

    hello !
    my problem is that FCPX renders unwanted "borders" (on both sides of the center column) while i use tiling (images below)
    please help. i have no idea where they came from or how to get rid of them. these lines are messing with my whole project !
    what am i doing wrong ?
    cheers

    @Tom Wolsky
    project properities are 1280x720 @ 60fps
    media properties are 568x408 @ 30fps ~2500kbit/s mpeg4
    if i scale down (or up) i can still see those borders (lines) however they occur sometimes in other places
    i tried non-black background and "lines" are in fact narrow spaces that are transparent (lower layers can be seen through those spaces)... so in conclusion FCP adds empty spaces between tiles
    any idea ?

  • [linux 3.0] Problem with sound : very low.

    Since I upgraded to linux 3.0, I noticed that sound is very very low. Even if gnome sound properties tells me it is set at 100%, I nearly cannot hear it at all.
    I got this in dmesg | tail :
    [fred@fredo-arch ~]$ dmesg | tail
    [   10.943927] NET: Registered protocol family 31
    [   10.943932] Bluetooth: HCI device and connection manager initialized
    [   10.943940] Bluetooth: HCI socket layer initialized
    [   10.943943] Bluetooth: L2CAP socket layer initialized
    [   10.944041] Bluetooth: SCO socket layer initialized
    [   10.981755] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   19.925726] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
    [   20.203365] eth0: no IPv6 routers present
    [   22.618181] EXT4-fs (sda4): re-mounted. Opts: commit=0
    [   22.755787] EXT4-fs (sda5): re-mounted. Opts: commit=0
    If I plug an headset in the front on my PC, I got sound with the right power. Weird. Any tips ?

    same here. almost no sound at all (unless you have superman ears).
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
    sounds like a alsa problem?
    Edit:
    This fixed it:
    I closed kde's mixer then I opened alsamixer. I selected Master channel and pressed M on my keyboard to unmute.
    then I did "/etc/rc.d/alsa stop" to save the sound volume status. and then "/etc/rc.d/alsa start" and I opened kmix again.
    Last edited by hussam (2011-07-24 20:48:55)

  • Serious problems with Table Editors - Urgent

    Hi to all. I have a table of doubles that I wish to implement a table editor so that I can detect when the user inserts some incorrect number and display a convenient warning message.
    Here is my code for my Editor (TableGasEditor). I have tried to follow the code of the tutorial How to use JTables:
    import javax.swing.AbstractAction;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JFormattedTextField;
    import javax.swing.JOptionPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.KeyStroke;
    import javax.swing.SwingUtilities;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import java.awt.Component;
    import java.awt.Toolkit;
    import java.text.NumberFormat;
    import java.text.ParseException;
    import javax.swing.text.DefaultFormatterFactory;
    import javax.swing.text.NumberFormatter;
    public class TableGasEditor extends DefaultCellEditor {
    JFormattedTextField ftf;
    NumberFormat doubleFormat;
    private Double minimum=new Double(0);
    final int DECIMAL_MAX = 3;
    public TableGasEditor(int min) {
    super(new JFormattedTextField());
    ftf = (JFormattedTextField)getComponent();
    minimum = new Double(min);
    doubleFormat = NumberFormat.getNumberInstance();
    doubleFormat.setMaximumFractionDigits(DECIMAL_MAX);
    NumberFormatter intFormatter = new NumberFormatter(doubleFormat);
    intFormatter.setFormat(doubleFormat);
    intFormatter.setMinimum(minimum);
    ftf.setFormatterFactory(new DefaultFormatterFactory(intFormatter));
    ftf.setValue(minimum);
    ftf.setHorizontalAlignment(JTextField.TRAILING);
    ftf.setFocusLostBehavior(JFormattedTextField.PERSIST);
    ftf.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "check");
    ftf.getActionMap().put("check", new AbstractAction() {
    public void actionPerformed(ActionEvent e) {
    if (!ftf.isEditValid()) {
    if (userSaysRevert())
    ftf.postActionEvent();
    else try {            
    ftf.commitEdit();
    ftf.postActionEvent();
    } catch (java.text.ParseException exc) { }
    public Component getTableCellEditorComponent(JTable table,
    Object value, boolean isSelected,
    int row, int column) {
    JFormattedTextField ftf =
    (JFormattedTextField)super.getTableCellEditorComponent(
    table, value, isSelected, row, column);
    ftf.setValue(value);
    return ftf;
    public Object getCellEditorValue() {
    JFormattedTextField ftf = (JFormattedTextField)getComponent();
    Object o = ftf.getValue();
    if (o instanceof Double)
    return o;
    else if (o instanceof Number) {
    return new Double(((Number)o).doubleValue());
    } else {
    try {
    return doubleFormat.parseObject(o.toString());
    } catch (ParseException exc) {
    System.err.println("getCellEditorValue: can't parse o: " + o);
    return null;
    public boolean stopCellEditing() {
    JFormattedTextField ftf = (JFormattedTextField)getComponent();
    if (ftf.isEditValid()) {
    try {
    ftf.commitEdit();
    } catch (java.text.ParseException exc) { }
    } else {
    if (!userSaysRevert()) {
         return false;
    return super.stopCellEditing();
    protected boolean userSaysRevert() {
    Toolkit.getDefaultToolkit().beep();
    ftf.selectAll();
    Object[] options = {"Edit",
    "Revert"};
    int answer = JOptionPane.showOptionDialog(
    SwingUtilities.getWindowAncestor(ftf),
    "The value must be a number bigger than "
    + minimum + ". "
    + "You can either continue editing "
    + "or revert to the last valid value.",
    "Invalid Text Entered",
    JOptionPane.YES_NO_OPTION,
    JOptionPane.ERROR_MESSAGE,
    null,
    options,
    options[1]);
    if (answer == 1) { //Revert!
    ftf.setValue(ftf.getValue());
         return true;
         return false;
    And this is the code that I use to set this editor as my table's editor:
    gasTable.setDefaultEditor(Double.class,new TableGasEditor(0));
    The problem is that if I insert a value like:
    15a.15
    the editor acepts the value as it was valid, but it appears only until the valid part of the number. In this example, it only appears this:
    15
    What I intended was the same behaviour it has when I insert a value like this:
    aa15
    The Editor launches the Dialog with the message warning.
    Any idea of what I'm doing wrong, and how can I resolve it?
    I think it might have something to do with the Numberformat, but in spite of having already read the documentation I still didn't figure it out what I was doing wrong....
    Any help would VERY helpfull, since I'm completely stuck in this and have a deadline for tomorrow!:(
    Thanks.
    Fenryl

    Hi there,
    I dont have enough time to test your code, but I see the following errors:
    If the input is not a number, you parse it by:
    doubleFormat.parseObject(o.toString());
    1/ I dont see parseObject(String). I only see parseObject(String source,
    ParsePosition pos)
    Let's assume you use parse(String), then what you got is correct. From API, parse(String)
    "Parses text from the beginning of the given string to produce a number". So if the input is 15a.15, it's normal you get 15 as a result. You only got the exception if "the beginning of the specified string cannot be parsed." which is not the case here, but it is the case as the input is aa15
    2/ I think you dont need to use NumberFormat here. How about using Double.parseDouble(String) ?
    Hope this helps,

  • Problem with a Servlet - URGENT help

    Hello
    i really need your help. here i uploaded my web project: http://www.2shared.com/file/4450238/aaa4d9cd/JMSTest.html
    it's about 2 servlets, one Test servlet sending a message, and another one, Receiver, to receive the message sent via JMS (i use ActiveMQ)
    i didn't know what's wrong, if i call http://localhost:8080/JMSTest , then i enter something into that textfield, then i press the button(form action is http://localhost:8080/test ). it writes that "Mesaj trimis" (message sent - written by me in Romanian), and when i call http://localhost:8080/receiver i did not receive the message. Why?
    I use queue, so i think the send message is stored in a queue until a receiver receives it.
    Please download the project, isn't complicated.
    I did not know what's the problem.
    here is the server.xml file from Tomcat conf folder:
    <?xml version="1.0" encoding="UTF-8"?>
    <Server port="8005" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
      <!-- Global JNDI resources
           Documentation at /docs/jndi-resources-howto.html
      -->
      <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
      </GlobalNamingResources>
      <Service name="Catalina">
        <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>      
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
        <Engine defaultHost="localhost" name="Catalina"> 
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
          <!-- Define the default virtual host
               Note: XML Schema validation will not work with Xerces 2.2.
           -->
          <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
            <!-- SingleSignOn valve, share authentication between web applications
                 Documentation at: /docs/config/valve.html -->
            <!--
            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
            -->
            <!-- Access log processes all example.
                 Documentation at: /docs/config/valve.html -->
            <!--
            <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" 
                   prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
            -->
           <Context path="/JMSTest" docBase="JMSTest"
            debug="5" reloadable="true" crossContext="true">
        <Resource name="jms/ConnectionFactory" auth="Container"
                     type="org.apache.activemq.ActiveMQConnectionFactory"
                     description="JMS Connection Factory"
                     factory="org.apache.activemq.jndi.JNDIReferenceFactory"
                     brokerURL="vm://localhost"
                     brokerName="LocalActiveMQBroker"
                     userName="activemq" password="activemq"
                     useEmbeddedBroker="false"
                     clientID="TomcatClientID" />
        <Resource name="jms/myQueue" auth="Container"
                     type="org.apache.activemq.command.ActiveMQQueue"
                     description="JMS Queue"
                     factory="org.apache.activemq.jndi.JNDIReferenceFactory"
                     physicalName="TEST.FOO" />
        <Resource name="jms/myTopic" auth="Container"
                     type="org.apache.activemq.command.ActiveMQTopic"
                     description="JMS Topic"
                     factory="org.apache.activemq.jndi.JNDIReferenceFactory"
                     physicalName="TEST.BAR"/>
    </Context>
           </Host>
        </Engine>
      </Service>
    </Server>or, how should i do this, but using Sun Message Queue? my way is using Apache MQ
    Thanks
    Edited by: Talkabout on Dec 13, 2008 7:15 AM

    I didn't go all through your code, but I'd say you should make sure that the Receiver servlet is up and running BEFORE your access the Sender servlet.

  • Problems with the Strings Urgent Help needed

    I have a unique problem. I have to retrieve a particular value from a String. I tried using String tokeniser but in vain. I cannot use java.util.regex package to match the expressions as the version of java on the client m/c is 1.1.8 and they are not ready to upgrade the same.
    The string From which I have is a very long one running into more than 100 lines which can vary from case to case all I know is to retrieve the value which is just in front of "TestValue" which occur only once in the String Can Anybody suggest a bettter alternative.
    Thanx.
    ebistrio

    StringTokenize on TestValueHow would you suggest that was done?
    As I understand it StringTokenizer tokens = new StringTokenizer(string, "TestValue"); would not tokenize on the string "TestValue" but on any of the characters 'T', 'e', 's', 't', 'V', 'a', 'l' or 'u'. This is a common java pitfall in my opinion due to bady named parameters (I feel it should be called "delims" not "delim") or in other people's opinion due to bad parameter type (should be a char[] not a string).
    A clearer explanation of the problem would help.

  • Problems with a very busy program

    I have created a JAVA program which has to make a huge amount of operations. As a result, when it's working I can't press any buttom of the frame, even I can't see propely the frame until it has finished working because it is very busy.
    What can I do to solve this? Thanks!

    Quote:
    Using Threads to Improve Performance
    When properly used, threads can be a powerful tool. However, you must proceed with caution when using threads in a Swing program. Despite the dangers, threads can be invaluable. You can use them to improve your program's perceived performance. And sometimes threads can simplify a program's code or architecture. Here are some typical situations where threads are used:
    To move a time-consuming initialization task out of the main thread, so that the GUI comes up faster. Examples of time-consuming tasks include making extensive calculations and blocking for network or disk I/O (loading images, for example).
    - To move a time-consuming task out of the event-dispatching thread, so that the GUI remains responsive.
    - To perform an operation repeatedly, usually with some predetermined period of time between operations.
    - To wait for messages from other programs.

  • I-Procurement problems with approval hierarchy - Urgent!! Please help!

    Dear experts,
    I am having a number of problems in i-procurement (12.1.3). When creating a Requisitions in i-procurement on the screen when it arrives with the approval list, it has retrieved a personel who is not in the hierarchy list at all. (not using AME just employee hierarchy)
    I have checked the usual setting such as making sure the document type settings is correct and the position hierarchy for the position raising the requisition.
    In addition to this once proceeding with submitting the requisition the created time is completly wrong. It is displaying a date occuring in the past. And in the Justification field it has already been populated it appears that it has captured information from a previous requisition. Furthermore in the created by field it also displaying a name of a different user to the one I am currently using.
    I am out of ideas as to exactly what the problems is. Would appreciate if any I-procurement gurus can take a look at my issue.
    Thanks and Regards
    Ebsnoob

    That sounds like a feedback loop.
    Does the tone alter in pitch when you alter input and/or output levels or move your microphone?
    And have you checked your coreaudio device in *Logic Pro>Preferences>Audio* ? And your recording settings in *File>Project Settings* ?
    And how is your monitoring setup? Directly from the Presonus, or do you use *Software Monitoring* ?
    Does the tone stop when you hit Pause ?
    2nd possibility: a note event somewhere triggers a synth - but that would also happen in playback, so it is a long shot.... it does not happen in playback?
    regards, Querik.
    ps: the advantage of smashing up things is that then you are at least sure you can't fix it anymore. Better keep some broken stuff handy, because you'll regret smashing up working stuff.

Maybe you are looking for

  • Default Styles

    i would be interested to know, what default styles\setting does everyone use for their css pages. here are mine. body { /* set everything to normal to define the base format font: normal 13px/normal Geneva, Arial, Helvetica, sans-serif; color: #00000

  • How to create new file folders?

    I'm can no longer create new file folders. Can someone help me? I've tried everything.

  • Debuggingprobleme

    Beim Debugging in Oracle SQL Developer habe ich folgendes Problem: - Ich erstelle ein Verbindung auf einen Server - Ich öffne die Packages - Auf dem Packages, welches ich debuggen will, mit RM für Debugging kompilieren (sowohl Header und Body) - Ansc

  • I ordered a licence for the trial version of Elements 12 to upgrade from 11.

    I ordered an upgrade licence for the trial version of Elements 12 and the confirmation says it is for Windows. I am sure I ordered for Mac (which is all I run). The serial number is invalid when I enter it which I presume is because the platform is w

  • B4 II TONEWHEEL NOT INSTALLED

    hey guys, im new to final cut, i just installed final cut studio 2 on my macbook pro and all everything else other than final cut will open, when it loads in it tells me that b4 II tonewheel is not installed, i belive this is a plugin from Native Ins