Please tell me the use of %!  scriptlet in jsp

please tell me the use of <%! scriptlet in jsp

When the JSP is compiled to java normal scriptlet blocks are inserted inside the transaction processing method's code. <%! code goes outside the method, in the body of the generated class definition.
Typically you'd use it to define constants and private methods subsequently used in scriptlet code.
e.g. <%! private static final DateFormat df = new SimpleDate("dd/MM/yy"); %>

Similar Messages

  • Please tell me the use of ranges , when it should be used

    please tell me the use of ranges , when it should be used.

    Anytime you have to equate to multiple values in your programs.  Say for example, you need to get data for two company codes from a table.
    data: it001 type table of t001.
    ranges: r_bukrs for t001-bukrs.
    r_bukrs-sign = 'I'.
    r_bukrs-option = 'EQ'.
    r_bukrs-low = '0010'.
    append r_bukrs.
    r_bukrs-sign = 'I'.
    r_bukrs-option = 'EQ'.
    r_bukrs-low = '0020'.
    append r_bukrs.
    select * into table it001 from t001 where bukrs in r_bukrs.
    Regards,
    Rich Heilman

  • Can someone please tell me the cause of the msg-The song could not be used because the original file could not be found- and how I might correct that problem?

    Can anyone please tell me the cause of the msg-The song"    " could no be used
    because the original file could not be found-and how I might correct that problem?  Lou

    I stupidly tried to copy my music files to an external drive so I could transfer them to my new iMac (old Macbook Pro is being retired). I now know I should've tried home sharing or something to transfer the music.
    Anyway, the situation I am in is that I have not managed to transfer anything and I now cannot access the music on my old Macbook Pro either! I have the message "the song 'xyz' could not be used because the original file could not be found. Would you like to locate it?". I understand that this is because iTunes cannot locate the files. When I try to locate the files I find nothing.
    I have tried searching my whole Macbook Pro for mp3 files and m4a files and Spotlight cant find any! The tracks are all still listed in iTunes. I also searched the external hard drive. I definitely haven't deleted anything. So where could they have gone and is there anything else I can do to search for them? I have a feeling I am just not searching for them in the right way because I have not deleted anything.
    Old computer is Macbook Pro OS X 10.6.8 with iTunes 10.4.1
    New computer is iMac OS X 10.7.2 with iTunes 10.5
    All I want to do is to set everything back to how it was so I can try the transfer a better way.
    Please help. Thanks, Dashford.

  • HT4759 account - can someone please tell me the settings to use (port number, encryption etc) as I can receive but not send. Thanks!

    I'm trying to use Outlook to receive and send email from my mail.me.com account - can someone please tell me the settings to use (port number, encryption etc) as I can receive but not send. Thanks!

    Looks like there is a general problem with SMTP mail today. Lots of people posting similar things.

  • Please tell me the step by step process of backup and full restore

    Dear all,
    we are using ecc5 and windows and oracle 9i I am going to apply support package .Please tell me the step by step process of backup and full restore . I am using DB13 for backup. Please suggest.
    Regards,
    Shiva

    Hi,
    Login as <SID>adm user & run the following command
    brrestore -b <backup logfilelogfile> -m full
    this command restore the backup.
    you can find backup logfile in /oracle/<SID>/sapbackup/.ant or .aft .
    For backup using brtools follow the following procedure:-
    Run Brtools Than you get the following option
    1 = Database backup
    2 - Archivelog backup
    3 - Database copy
    4 - Non-database backup
    5 - Verification of database backup
    6 - Verification of archivelog backup
    7 + Additional functions
    8 - Reset input values
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    1
    BR280I Time stamp 2008-04-04 18.41.57
    BR663I Your choice: '1'
    BR280I Time stamp 2008-04-04 18.41.57
    BR657I Input menu 15 - please check/enter input values
    BRBACKUP main options for backup and database copy
    1 - BRBACKUP profile (profile) ....... [initPRD.sap]
    2 - Backup device type (device) ...... [tape]
    3 ~ Tape volumes for backup (volume) . []
    4 # BACKINT/Mount profile (parfile) .. []
    5 - Database user/password (user) .... [system/*******]
    6 - Backup type (type) ............... [online]
    7 - Back up disk backup (backup) ..... [no]
    8 # Delete disk backup (delete) ...... [no]
    9 ~ Files for backup (mode) .......... [all]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    3
    BR280I Time stamp 2008-04-04 18.42.25
    BR663I Your choice: '3'
    BR280I Time stamp 2008-04-04 18.42.25
    BR681I Enter string value for "volume" (scratch|<tape_vol>|<tape_vol
    PRDB04
    BR280I Time stamp 2008-04-04 18.43.06
    BR683I New value for "volume": 'PRDB04'
    BR280I Time stamp 2008-04-04 18.43.06
    BR657I Input menu 15 - please check/enter input values
    BRBACKUP main options for backup and database copy
    1 - BRBACKUP profile (profile) ....... [initPRD.sap]
    2 - Backup device type (device) ...... [tape]
    3 ~ Tape volumes for backup (volume) . [PRDB04]
    4 # BACKINT/Mount profile (parfile) .. []
    5 - Database user/password (user) .... [system/*******]
    6 - Backup type (type) ............... [online]
    7 - Back up disk backup (backup) ..... [no]
    8 # Delete disk backup (delete) ...... [no]
    9 ~ Files for backup (mode) .......... [all]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    c
    BR280I Time stamp 2008-04-04 18.43.46
    BR663I Your choice: 'c'
    BR259I Program execution will be continued...
    BR280I Time stamp 2008-04-04 18.43.46
    BR657I Input menu 16 - please check/enter input values
    Additional BRBACKUP options for backup and database copy
    1 - Confirmation mode (confirm) ....... [yes]
    2 - Query mode (query) ................ [no]
    3 - Compression mode (compress) ....... [hardware]
    4 - Verification mode (verify) ........ [no]
    5 - Fill-up previous backups (fillup) . [no]
    6 - Parallel execution (execute) ...... [0]
    7 - Additional output (output) ........ [no]
    8 - Message language (language) ....... [E]
    9 - BRBACKUP command line (command) ... [-p initPRD.sap -d tape -v
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    c
    BR280I Time stamp 2008-04-04 18.44.29
    BR663I Your choice: 'c'
    BR259I Program execution will be continued...
    BR291I BRBACKUP will be started with options '-p initPRD.sap -d tape
    E'
    BR280I Time stamp 2008-04-04 18.44.29
    BR670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to
    c
    BR280I Time stamp 2008-04-04 18.45.13
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR051I BRBACKUP 6.20 (113)
    BR189W Expiration period equal 0 - backup volumes could be immediate
    BR055I Start of database backup: bdxpzadt.ant 2008-04-04 18.45.13
    BR319I Control file copy was created: /oracle/PRD/sapbackup/cntrlPRD
    BR280I Time stamp 2008-04-04 18.45.13
    BR057I Backup of database: PRD
    BR058I BRBACKUP action ID: bdxpzadt
    BR059I BRBACKUP function ID: ant
    BR110I Backup mode: ALL
    BR077I Database file for backup: /oracle/PRD/sapbackup/cntrlPRD.dbf
    BR061I 25 files found for backup, total size 45884.883 MB
    BR143I Backup type: online
    BR113I Files will be compressed by hardware
    BR130I Backup device type: tape
    BR102I Following backup device will be used: /dev/rmt0.1
    BR103I Following backup volume will be used: PRDB04
    BR280I Time stamp 2008-04-04 18.45.13
    BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
    c
    BR280I Time stamp 2008-04-04 18.45.50
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    BR208I Volume with name PRDB04 required in device /dev/rmt0.1
    BR210I Please mount BRBACKUP volume, if you have not already done so
    BR280I Time stamp 2008-04-04 18.45.50
    BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
    c
    BR280I Time stamp 2008-04-04 18.46.26
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    BR280I Time stamp 2008-04-04 18.46.26
    BR226I Rewinding tape volume in device /dev/rmt0 ...
    BR351I Restoring /oracle/PRD/sapbackup/.tape.hdr0
    BR355I from /dev/rmt0.1 ...
    BR241I Checking label on volume in device /dev/rmt0.1
    BR280I Time stamp 2008-04-04 18.46.26
    BR226I Rewinding tape volume in device /dev/rmt0 ...
    BR202I Saving /oracle/PRD/sapbackup/.tape.hdr0
    BR203I to /dev/rmt0.1 ...
    BR209I Volume in device /dev/rmt0.1 has name PRDB04
    BR202I Saving init_ora
    BR203I to /dev/rmt0.1 ...
    BR202I Saving /oracle/PRD/920_64/dbs/initPRD.sap
    BR203I to /dev/rmt0.1 ...
    Let me know If you have any problem regarding backup & restore
    karan

  • Please tell me the step by step process of backup and full restore recovery

    Dear all,
    we are using ECC5.0 and windows 2003 and oracle 9i .Please tell me the step by step process of backup and full restore . I am using DB13 for backup and taken the backup. Please suggest.
    Best Regards,
    Thiru

    Hi,
    Please refer to following link
    SAP on Oracle - Backup and Recovery [original link is broken]
    Hope this helps.
    Manoj Chintawar

  • Please tell me the procedure .

    I am using eclipse IDE.
    I see a.java and b.java file in my eclipse IDE.
    Now i put c.java and d.java in the same physical location side by side to a.java and b.java
    But , i dont see those in the eclipse IDE !!
    i want those files inside the IDE...what needs to be done ?
    please tell me the procedure .
    thanks

    Right click svn update only two actions!!!!
    cmd = open prompt cd to dir then svn
    Thats three!!!
    That extra moment could be priceless lolIf you're used to working with command-line tools, you'll have at least a couple of shells open all the time anyway. I always have a few, one of which is already at the root of whatever source code I'm working on. The shell has all the common tasks in it's history, so a quick tap on the up arrow and you're there :-)
    Plus, I'm not using Windows so Tortoise is irrelevant anyway

  • Please tell me the way to find the person who has booked the conferenceroom

    HI All,
    When i am trying to book a conference room. it was showing the status a s busy in zimbra.But i am not able to find the person who has booked the room ?? how do i know the person who has booked teh conference room??if i can know that person i can negiotate with him abt the room.
    please tell me the way to find the person who has booked teh conference room ?????
    Thanks in advance
    Venugopal

    Hi Venugopal,
    If you add approvers using beekeeper for that resource AND that you use Outlook, you can see who is 'in charge' of that resource, ie the person that will hand over the keys to that room when you need them. That person is the only one who may be able to tell you who has booked the resource, you can then go and 'negociate' ;o)
    In Zimbra (1.5.1.5) you can't see the contacts..
    hth
    David

  • Please tell me the step by step process of HP Tape drive configuration.

    Dear all,
    we are using ECC5.0 and windows 2003 server and oracle 9i .Please tell me the step by step process of HP Tape drive configuration. I Think initSID.sap file in to change the parameter,but which parameter configure.Please suggest.
    Best Regards,
    Thiru

    Hello Thiru,
    Once the backup completes,tape willl be automatically ejected.
    I dont think there is any way by means of which you can see the data stored in the disk but yes what you can do is to run the backup with verify option
    This BRBACKUP command option verifies the backup after the files have been backed up
    Please refer to following for more info.
    http://help.sap.com/saphelp_nw70/helpdata/EN/55/c491f37407e74781bc0ebd96befba7/content.htm
    Rohit

  • Please tell me the functionality of this piece of code

    vl_faedn = sy-datum - 15.
    All amount fields are 0.00 initially.
    Please tell me the functionality of this code.What is the purpose of each query?
    YD = Commission Advance
    AB = Automatic Clearing Doc
    Y4 = Commission Invoice
    X4 = Commission Credit Memo
    K1 = Commission Adj. Invoice
    K2 = Commission Adj.Credit Memo
      Retrieve the YD document type total for a Customer
              SELECT WRBTR SHKZG
                 INTO (VL_WRBTR, VL_SHKZG)
                 FROM BSID
                 WHERE BUKRS = VL_BUKRS AND
                       KUNNR = VL_KUNNR AND
                       UMSKS = 'C' AND
                       UMSKZ = 'C' AND
                       BLART = 'YD' AND
                       ZFBDT <= VL_FAEDN.
                IF VL_SHKZG = 'H'.
                  VL_WRBTR = VL_WRBTR * -1.
                ENDIF.
                VL_YD_AMNT = VL_YD_AMNT + VL_WRBTR.
              ENDSELECT.
      Retrieve the AB document type total for a Customer
              SELECT WRBTR SHKZG
                 INTO (VL_WRBTR, VL_SHKZG)
                 FROM BSID
                 WHERE BUKRS = VL_BUKRS AND
                       KUNNR = VL_KUNNR AND
                       UMSKS = 'G' AND
                       UMSKZ = 'G' AND
                       BLART = 'AB' AND
                       ZFBDT <= VL_FAEDN.
                IF VL_SHKZG = 'H'.
                  VL_WRBTR = VL_WRBTR * -1.
                ENDIF.
                VL_AB_AMNT = VL_AB_AMNT + VL_WRBTR.
              ENDSELECT.
      Retrieve the Y4 document type total for a Vendor
              SELECT WRBTR SHKZG
                INTO (VL_WRBTR, VL_SHKZG)
                FROM BSIK
                WHERE BUKRS = VL_BUKRS AND
                      LIFNR = VL_LIFNR AND
                    ( blart = 'Y4' OR blart = 'X4' OR blart = 'K1'                OR                 blart = 'K2' ). 
                IF VL_SHKZG = 'H'.
                  VL_WRBTR = VL_WRBTR * -1.
                ENDIF.
                VL_Y4_AMNT = VL_Y4_AMNT + VL_WRBTR .
              ENDSELECT.
              VL_Y4_AMNT = -1 * VL_Y4_AMNT.
      Retrieve the YD document type total for a Vendor
              SELECT WRBTR SHKZG
                INTO (VL_WRBTR, VL_SHKZG)
                FROM BSIK
                WHERE BUKRS = VL_BUKRS AND
                      LIFNR = VL_LIFNR AND
                     blart = 'YD'.
                ( BLART = 'YD' OR  BLART = 'K1' OR
                        BLART = 'K2' ).  " Insert
                IF VL_SHKZG = 'H'.
                  VL_WRBTR = VL_WRBTR * -1.
                ENDIF.
                VL_YD_AMNT1 = VL_YD_AMNT1 + VL_WRBTR.
              ENDSELECT.
              VL_YD_AMNT1 = -1 * VL_YD_AMNT1 .
              IF VL_Y4_AMNT = 0.
                VL_TOT_AMOUNT = VL_YD_AMNT1 - VL_AB_AMNT.
              ELSE.
                VL_TOT_AMOUNT = VL_Y4_AMNT - ( VL_YD_AMNT + VL_AB_AMNT ).
              ENDIF.

    Hi
    I dont know what functionality you are asking, Still I try to answer some things, If it's not forgive
    vl_faedn = sy-datum - 15.
    All amount fields are 0.00 initially.
    Please tell me the functionality of this code.What is the purpose of each query?
    YD = Commission Advance
    AB = Automatic Clearing Doc
    Y4 = Commission Invoice
    X4 = Commission Credit Memo
    K1 = Commission Adj. Invoice
    K2 = Commission Adj.Credit Memo
    Retrieve the YD document type total for a Customer
    SELECT WRBTR SHKZG
    INTO (VL_WRBTR, VL_SHKZG)
    FROM BSID
    WHERE BUKRS = VL_BUKRS AND
    KUNNR = VL_KUNNR AND
    UMSKS = 'C' AND
    UMSKZ = 'C' AND
    BLART = 'YD' AND
    ZFBDT <= VL_FAEDN.
    The Above query retrieves field values WRBTR SHKZG from BSID table to the Local Variable VL_WRBTR & VL_SHKZG , if it satisfies the WHERE condition mentioned for the YD docu type for the Customer
    What I suggests , the IF operation should be outside the SELECT-ENDSELECT. May be you have a requirement, I dont know
    Atleast You have to perform SUBRC check.. Before the IF operation. for the VL_SHKZG = 'H'.
    IF VL_SHKZG = 'H'.
    VL_WRBTR = VL_WRBTR * -1.
    ENDIF.
    VL_YD_AMNT = VL_YD_AMNT + VL_WRBTR.
    ENDSELECT.
    i.e., What , Here every SELECT query is performing for some document type for customer and vendor with some variable arithmetic operations .
    Retrieve the AB document type total for a Customer
    SELECT WRBTR SHKZG
    INTO (VL_WRBTR, VL_SHKZG)
    FROM BSID
    WHERE BUKRS = VL_BUKRS AND
    KUNNR = VL_KUNNR AND
    UMSKS = 'G' AND
    UMSKZ = 'G' AND
    BLART = 'AB' AND
    ZFBDT <= VL_FAEDN.
    IF VL_SHKZG = 'H'.
    VL_WRBTR = VL_WRBTR * -1.
    ENDIF.
    VL_AB_AMNT = VL_AB_AMNT + VL_WRBTR.
    ENDSELECT.
    Retrieve the Y4 document type total for a Vendor
    SELECT WRBTR SHKZG
    INTO (VL_WRBTR, VL_SHKZG)
    FROM BSIK
    WHERE BUKRS = VL_BUKRS AND
    LIFNR = VL_LIFNR AND
    ( blart = 'Y4' OR blart = 'X4' OR blart = 'K1' OR blart = 'K2' ).
    IF VL_SHKZG = 'H'.
    VL_WRBTR = VL_WRBTR * -1.
    ENDIF.
    VL_Y4_AMNT = VL_Y4_AMNT + VL_WRBTR .
    ENDSELECT.
    VL_Y4_AMNT = -1 * VL_Y4_AMNT.
    Retrieve the YD document type total for a Vendor
    SELECT WRBTR SHKZG
    INTO (VL_WRBTR, VL_SHKZG)
    FROM BSIK
    WHERE BUKRS = VL_BUKRS AND
    LIFNR = VL_LIFNR AND
    blart = 'YD'.
    ( BLART = 'YD' OR BLART = 'K1' OR
    BLART = 'K2' ). " Insert
    IF VL_SHKZG = 'H'.
    VL_WRBTR = VL_WRBTR * -1.
    ENDIF.
    VL_YD_AMNT1 = VL_YD_AMNT1 + VL_WRBTR.
    ENDSELECT.
    VL_YD_AMNT1 = -1 * VL_YD_AMNT1 .
    IF VL_Y4_AMNT = 0.
    VL_TOT_AMOUNT = VL_YD_AMNT1 - VL_AB_AMNT.
    ELSE.
    VL_TOT_AMOUNT = VL_Y4_AMNT - ( VL_YD_AMNT + VL_AB_AMNT ).
    ENDIF.
    Reward points  if useful
    Edited by: GP on May 10, 2008 9:02 PM

  • Please tell me the Plugins (Struts) for eclipse

    I am new in struts, so please anyone tell the name of plugins i have to download. and please tell me the process of run my application in eclipse.

    check out these links
    this plugin is free for personel it is very good to work with struts and it has got a nice starter tutorial also
    http://www.exadel.com/web/portal/home
    this can be used for j2ee development
    http://www.objectlearn.com/index.jsp
    this one is not free but its really nice you can have 30 day trial
    http://www.myeclipseide.com/

  • Please Tell  me the Standard Bapi for Purchase Order Creation

    Hi,
      Please tell me the standard BApi for the PO creation. How to excute the standard Bapi. Please help me.
    Regrads
    Mohan

    Hi Mohan,
    Use this BAPI BAPI_PO_CREATE1.
    Check this post, you have program aswell
    https://forums.sdn.sap.com/click.jspa?searchID=7294168&messageID=1172796
    Regards,
    Satish

  • Please  tell me the difference between CREATE OBJECT & CREATE DATA ,statements in CRMTECHNICAL

    Please  tell me the difference between CREATE OBJECT & CREATE DATA ,statements in CRMTECHNICAL

    found it on my own . the best way to do this is use the RetriveLimitedHierTreeCommand  with a search on the taxonomy table.

  • Please tell me the significance of the alphanumerics in the serial number of my sound ca

    Hi,
    Will you please tell me the significance of the several letters and numbers in the serial number of my sound card. It is: MASB046755000468S.
    I am expecting that it will reveal the model family, the sub classification amongst that family, retail or OEM, date of manufacture, batch, and other interesting details. In case they are of siginificance, other markings on the card are E-G03-05-3757 (B)
    Also the Revision is shown as A00. Is that the earliest version? Are their higher revision numbers than this?
    Many thanks
    Palmer.

    The full series OnDemand was a big selling point for me, but the reality has turned out to less than perfect to say the least. I can remember a while back trying to watch The Sopranos from the start of season 1, but they don't have the episodes on long enough for you to watch them. After a while, they take the 1st episodes off and expect you to watch from mid-way through, without watching from the start of the season, not something I want to do. 
    I've given up trying to watch whole seasons with onDemand, and only use the catch-up service for documentries, Eastenders and the odd comedy show.

  • Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.

    Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.
    In My Company No Of Plants Like 1000,2000,3000,4000
    Plant 1000 Provide the service/operation  like (welding ,cutting, painting ) to other plants (eg 2000,3000,4000)
    We want to give the profit for plant 1000 and book the service or operation charge in plant 2000 or 3000.
    We don’t want  to use material code in this process.
    Can you help me it is possible or not through SAP PP.

    Krishnendu,
                   Actually in my company we have one plant 1000 that plant provide the service like (CUTTING (SHAFT),WELDING,MACHINING,PAINTING)
    actually plant already made one material xyz and supply 2000 plant .
    we  can use STO in this scenario and set special procurement key  80.
    But my requirement is after some time plant 1000 provide few operation in xyz material that material already supply to 2000 plant.
    in this case we dont  use to produce any material.

Maybe you are looking for

  • Error while changing the printing options under preferences of a plan App

    Hi All, I am using EPM system 11.1.1.1.0. I have a planning application and i am trying to chage the printing options under File-->Preferences but when i try to save my chnage i get a IE error message on the bottom left corner of the page. On the det

  • Sending a pdf with mail that is directly seen by opening the mail?possible?

    hello, I want to send a pdf by Mail but I would like the receiver to click on my email and that he/she will see the complete pdf immediately. is that possible? thanks Hein

  • Sequence Settings for HD to SD DVD

    I have an HD Camcorder that records to a flash 8 GB memory card. Once I import the files into Final Cut Pro, I need to export using Compressor with the "DVD Best Quality for 90 minutes" option. The problem is that Compressor takes forever. Over 60 ho

  • Keep getting this Error

    Hi, I keep getting this error in my AQ error location: $ORACLE_HOME/mgw/log Polling thread: SUB_NAME1 new msgCount = 0 >>2013-06-25 13:00:12  MGW  Engine  2  TRACE  Polling Polling checking job: STOCK_NAME3 state = 1 status = 0 retryCount = 1 >>2013-

  • Shipping condition mapping during Order load

    Hi Experts,                   I have two SAP systems A and B. 1. PO is created in A and sends over that to B. 2. It is required to pass shipping condition(VBAK-VSBED) from A to B. But shipping conditions used in System A are diff than B. so system B