How to check arraylist size greater than 1 using expression language in jsp

I want to remove the scripplet in jsp, so i am using jstl tags with expression language in it.
My scripplet is
<% if (arraylist.size() > 1) {
---do something ----
%>
i wanted to change this to
<c:if test="${ somecondition }">
---do something ----
</c:if>
here "somecondition" is exactly i need to check whether my arraylist size is greater than 1.
so please can anyone help me how can i do that.

If you do not mind, you can create a function and package it into a tag library of your own. Then you can use the function just as the existing expressions language construct. You may take a look at the article use functions in jsp expression language.

Similar Messages

  • Parse an XML of size greater than 64k using DOM

    Hi,
    I had a question regarding limitation of parsing a file of size greater than 64k in Oracle 10g. Is the error "ORA-31167: XML nodes over 64K in size cannot be inserted" related to this ?
    One of the developers was telling that if we load an XML document of size greater than 64k into Oracle DOM, it will fail. Is 64k the size of the file or the size of text node in the XML?
    Is there a way we can overcome this limitation?
    I believe that Oracle 11g R1 documentation states that existing 64k limitation on the size of a text node has been eliminated. So if we use Oracle 11g, does it mean we can load XML files of size greater than 64K (or XML having text nodes of size greater than 64k)
    I am not well versed with XML. Please help me out.
    Thanks for your help.

    Search this forum for the ORA-error.
    Among others it will show the following: Node size
    In this case I think we can assured that "a future release" in 2006 was 11.1 as mentioned by Mark (= Sr Product Manager Oracle XML DB)

  • Index size greater than table size

    HI ,
    While checking the large segments , I came to know that index HZ_PARAM_TAB_N1 is larger than table HZ_PARAM_TAB . I think it's highly fragmented and requires defragmentation . Need your suggestion on the same that how can I collect more information on the same . Providing you more information .
    1.
    select sum(bytes)/1024/1024/1024,segment_name from dba_segments group by segment_name having sum(bytes)/1024/1024/1024 > 1 order by 1 desc;
    SUM(BYTES)/1024/1024/1024 SEGMENT_NAME
    81.2941895 HZ_PARAM_TAB_N1
    72.1064453 SYS_LOB0000066009C00004$$
    52.7703857 HZ_PARAM_TAB
    2. Index code
    <pre>
    COLUMN_NAME COLUMN_POSITION
    ITEM_KEY 1
    PARAM_NAME 2
    </pre>
    Regards
    Rahul

    Hi ,
    Thanks . I know that rebuild will defragment it . But as I'm on my new site , I was looking for some more supporting information before drafting the mail on the same that it requires re org activity .It's not possible for an index to have the size greater than tables as it contains only 2 columns values + rowid . Whereas tables contains 6 columns .
    <pre>
    Name      Datatype      Length      Mandatory      Comments
    ITEM_KEY      VARCHAR2      (240)      Yes      Unique identifier for the event raised
    PARAM_NAME      VARCHAR2      (2000)      Yes      Name of the parameter
    PARAM_CHAR      VARCHAR2      (4000)      
         Value of the parameter only if its data type is VARCHAR2.
    PARAM_NUM      NUMBER      
         Value of the parameter only if its data type is NUM.
    PARAM_DATE      DATE      
         Value of the parameter only if its data type is DATE.
    PARAM_INDICATOR      VARCHAR2      (3)      Yes      Indicates if the parameter contains existing, new or >replacement values. OLD values currently exist. NEW values create initial values or replace existing values.</pre>
    Regds
    Rahul

  • Passing variable of size greater than 32767 from Pro*C to PL/SQL procedure

    Hi,
    I am trying to pass a variable os size greater than 32767 from Pro*C to an SQL procedure.I tried assigning the host variable directly to a CLOB in the SQL section but nothing happens.In the below code the size of l_var1 is 33000.PROC_DATA is a procedure that takes CLOB as input and gives the other three(Data,Err_Code,Err_Msg) as output.These variables are declared globally.
    Process_Data(char* l_var1)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    l_clob := :l_var1
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    I also tried using DBMS_LOB.This was the code that i used.
    Process_Data(char* l_var1)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(l_clob,TRUE);
    DBMS_LOB.OPEN(l_clob,dbms_lob.lob_readwrite);
    DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    Here since DBMS_LOB packages allow a maximum of 32767,the value of l_var1 is not being assigned to l_clob.
    I am able to do the above process provided i split l_var1 into two variables and then append to l_clob using WRITEAPPEND.i.e l_var1 is 32000 in length and l_var2 contains the rest.
    Process_Data(char* l_var1,char* l_var2)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    dbms_lob.createtemporary(l_clob,TRUE);
    dbms_lob.OPEN(l_clob,dbms_lob.lob_readwrite);
    DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
    DBMS_LOB.WRITEAPPEND (l_clob, LENGTH(:l_var2), :l_var2);
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    But the above code requires dynamic memory allocation in Pro*C which i would like to avoid.Could you let me know if there is any other way to perform the above?

    Hi,
    The Long Datatype has been deprecated use Clob or Blob. This will solve lot of problems inherent with the datatype.
    Regards,
    Ganesh R

  • How to check File size of a Text file.

    How to check File size of a Text file.
    please explain me.
    I am new in LabVIEW. and dont have much idea on this...;
    Prashant Soni
    LabVIEW Engineer
    Solved!
    Go to Solution.

    Hi Prashant,
    and here's what you get when using the LV help...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to check total size of attachment stored in database?

    Hello guys,
    Firstly I'm new to this forum & SAP Basis. Therefore i want to apologize if i'm posting in wrong area.
    Actually I want to know how to check total size of attachment that have been uploaded in ECC.
    From the current database size, how can i check how much space have been used to store attachment such as pdf, doc, xls and tif. I  want to know how much space have been utilized by those attachments from August 2010 until now.
    FYI, those are PR, PO & MIGO attachments.
    Where do i start? What are the tables to check? Which table keeps record of the attachment size? etc.. etc..
    Really appreciate if you guys can give me some guideline.
    Thank you & Rgds,
    fafizah.

    Hi,
    As such there is no direct way to do this but if you will able to find out which all table stores the attachment then you can find out the size of those table from database level.
    Thanks
    Sunny

  • HELP !!! How to check the size of an object in Photoshop ?

    Hello,
    I'm using Photoshop CS 3 to design a website. I used several shapes such as rectangle, line or ellipse of different size. Probably it is a stupid question but I don't know how to check the size of an existing rectangle. I tried free transform tool that selects my rectangle but doesn't show its size. Then I made a selection with rectangular marquee tool but I see nowhere the size of the selected area.
    If you know the name of such a tool please help me !
    Have a nice day !

    Web images are all pixels. View at 100% at pixel view. that is your exact size

  • Java.exe sizes  greater than 350M , web report  often error

    HI , friends
    My ie is 8,and webi4.0.
    the  web report  file(universe)  has 63 reports,hundreds formulas,
    open the report java.exe sizes  greater than 350M.
    every time edit report ,only edit fews formulas....then the edit does not work.
    and  edit Data Access,or refresh  ,then error:  An error has occured.....(Screenshot)
    only to log off ,and shut down IE ...
    After a while open the IE, Sign in web report... ...again...
    I set the RAM as a virtual hard disk,and set up IE explorer  buffer memory to the NEW hard disk,
    but error still exists.
    please help me , thanks.

    Hi,
    On Windows 7, you may set the Java maximum Java heap size to 1536 MB in Java Control Panel -> Java -> Java Runtime Environment Settings, Runtime paramaters for both User and System.
    -Xmx1536m -Xincgc
    Note that
    depending on the desktop OS, the maximum Java heap size could vary, you'd need to test it and find out the ceiling to that OS.
    -Xincgc is to enable incremental garbage collection instead of waiting for whole lot chunk of garbage to be collected.
    Hope this helps,
    Jin-Chong

  • How to check image size in oracle 9i & 10g database

    hi,
    i have inserted an Image into a table in oracle database & I want to View the Query How to check image size in oracle 9i & 10g database
    thanks
    Edited by: user8920919 on May 30, 2010 1:43 AM

    user8920919 wrote:
    hi,
    How to check image size in oracle 9i & 10g database
    thanksWhat do you mean with "image size"?

  • Char types size greater than 256 in DOE

    What is the standard to use characters with types size greater than 256 characters in DOE (bapiwrapper)?

    Use STRING for length greater than 256 characters. In DOE, you should select TEXT_MEMO checkbox while defining node attribute in Data Object.

  • How to check client size in SAP

    Hi All,
    I would like to check the size of production client so i can do system refresh to QA. I need to know how to check client size only not database size.
    Regards
    Atul-

    Hi
    Yes, there is a report called YSTABSIZ which can calculate the size of the client.
    1. Login to the target client ( for which the client size to be calculated)
    2. Run SE38 , execute YSTABSIZ by selecting the table *
    3. Execute the report in background
    Once the client is deleted, the space which is free can be used to fill in with newly added data
    but if you want to see the actual space reduction in DB02,it can be acheived only with DB reorganization
    OSS notes 118823 and  for this purpose
    Hope ths helps
    Please reward points
    Sunil

  • How do I download files greater than 200MB to my Iphone now my music is in the iCloud?

    How do I download files greater than 200MB to my Iphone now my music is in the iCloud? I still have my music on my hard drive of course.

    Go to settings --> store --> and make sure automatic downloads for music is on.  If you download music in iTunes, it should automatically download to your phone.

  • How to check ink levels of a 4620 using windows 8.1

    How to check ink levels of a 4620 using windows 8.1

    Hi krmoss,
    Welcome to the HP Support forums.  I see that you would like to learn how to check the ink levels on your Officejet 4620 printer.  
    The steps on how to check the estimated ink levels can be found in your User Guide on page 74 in the section titled “To check the estimated ink levels from the printer control panel”.   If you have installed the full feature software and driver for your printer onto your computer you can open up the HP Solution Center and check the from there as well.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • PUT Blobs of size greater than 5.5MB fail with HTTPS but not HTTP

    I have written a Cygwin app that uploads (using the REST API PUT operation) Block Blobs to my Azure storage account, and it works well for different size blobs when using HTTP. However, use of SSL (i.e. PUT using HTTPS) fails for Blobs greater than 5.5MB.
    Blobs less than 5.5MB upload correctly. Anything greater and I find that the TCP session (as seen by Wireshark) reports a dwindling window size that goes to 0 once the aforementioned number of bytes have been transferred. The failure is very repeatable and
    consistent. As a point of reference,  PUT operations against my Google/AWS/HP accounts work fine when using HTTPS for various object sizes, which suggests my problem is not in my client but specific to the HTTPS implementation on the MSAZURE storage servers. 
    If I upload the 5.5MB blob as two separate uploads of 4MB and 1.5MB followed by a PUT Block List, the operation succeeds as long as the two uploads used
    separate HTTPS sessions. Notice the emphasis on separate. That same operation fails if I attempt to maintain an HTTPS session across both uploads. This is another data point that seems to suggest that the Storage
    server has a problem 
    Any ideas on why I might be seeing this odd behavior that appears very specific to MS Azure HTTPS, but is not seen when used against AWS/Google/HP cloud storage servers?

    Hi,
    I'm getting this problem also when trying to upload blobs > 5.5mb using the Azure PHP SDK with HTTPS.
    There is no way I can find to get a blob > 5.5mb to upload, unless you use http, rather than https, which is not a good solution.
    I've written my own scripts to use the HTTP_Request2 library, to send the request as a test, and it fails with that also when using the 'socket' method.
    However, if I write a script using the PHP Curl extension directly, then it works fine, and blobs > 5.5mb get uploaded.
    It seems to be irrelevant which method is used, uploading in 1 go, or using smaller chunks, the PHP SDK seems broken.
    Also, I think I've found another bug in the SDK, when you do the smaller chunks, the assigning of the BlockID is not correct.
    In: WindowsAzure/Blob/BlobRestProxy.php
    Line: $block->setBlockId(base64_encode(str_pad($counter++, '0', 6)));
    That is incorrect usage of the str_pad function, and if you upload a huge blob that needs splitting, then the blockIDs will after a while become a different length and therefore fail.
    It should be: str_pad($counter++, 6, '0',STR_PAD_LEFT);
    I also think there is 1 too many base64_encodes() in there, as I think its being done twice, once in that line, and then again within the createBlobBlock() just before the send() for a 2nd time.
    Can someone please advice, when this/these bug(s) will be fixed in the PHP SDK, as at the moment its useless to me as I cant upload things securely.

  • How do you show usernames greater than 8 characters in   /usr/ucb/ps ?

    Help!
    I am trying to write a process kill script, or rather, modify our linux ones for solaris. The problem is a catch-22 :
    a) the string I need to grep for is hidden way up the
    command string hence I cannot use 'ps', I need to
    use /usr/ucb/ps -auxww .
    b) some usernames are greater than 8 characters...
    Now this is fine with ps -U command, as this will
    correctly match a 9-character username. However
    /usr/ucb/ps does not seem to have this option; you
    can provide an extra option to get user info to display
    in the output under a column heading however this
    username is truncated at 8 characers. The
    standard username field in both versions of the
    ps command is truncated at 8 characters.
    how do I grep for my deeply-hidden string and a
    9-digin username ?
    is there any way to do this in a single command?
    I can maybe script this, do a ps -U on the user,
    awk the PID out the results, use /usr/ucb/ps and
    grep on the PID and the user string ... wondered
    if I've missed an option and this can be done by
    a single command rather than a script ?
    thanks!

    Help!
    I am trying to write a process kill script, or rather, modify our linux ones for solaris. The problem is a catch-22 :
    a) the string I need to grep for is hidden way up the
    command string hence I cannot use 'ps', I need to
    use /usr/ucb/ps -auxww .
    b) some usernames are greater than 8 characters...
    Now this is fine with ps -U command, as this will
    correctly match a 9-character username. However
    /usr/ucb/ps does not seem to have this option; you
    can provide an extra option to get user info to display
    in the output under a column heading however this
    username is truncated at 8 characers. The
    standard username field in both versions of the
    ps command is truncated at 8 characters.
    how do I grep for my deeply-hidden string and a
    9-digin username ?
    is there any way to do this in a single command?
    I can maybe script this, do a ps -U on the user,
    awk the PID out the results, use /usr/ucb/ps and
    grep on the PID and the user string ... wondered
    if I've missed an option and this can be done by
    a single command rather than a script ?
    thanks!

Maybe you are looking for

  • Is there anything to be taken care of while using GUI_DOWNLOAD in ITS?

    Hi All,          I have a requirement on which I am using GUI_DOWNLOAD for downloading a file into a network Drive.In the foreground I am executing using ITS.When I click on 'SUBMIT' button it goes to "Interpreter failed ...Internal error code: 0x210

  • New iMac 24" 2.8GHz plagued with problems

    I ordered a new iMac 24" 2.8GHz with 2GB RAM, 500GB Hard drive, on September 16th (last day for the academic Adobe CS3 deal, and the iPod deal (but unfortunately too early for me to get Leopard)). Not my first Mac (oh how I love my IIcx), but my firs

  • Stop/start of BW 7.0 system-- how to deal with deltas when moving instance?

    Dear BW guru's, we are moving a BW 7.0 system to a new datacenter, where the R3 source systems remain the same. What should we consider when we want to stop the system, move it, and restart the next day, when the source systems cannot be stopped? Spe

  • Error CX_SY_DYN_CALL_ILLEGAL_TYPE

    Hello All I am making progress on my first page thanks to some great help I have received from this community.  I now have another question. I am getting the Illegal type error at run time.  I have determined that it is the IMPORTING portion of my BA

  • HT4059 I saved approx. 50 important PDF-Documents in ibooks-App. Now all of them are disappeared!

    I did the last update at 7th of Nov. 2013 before I update my Ipad Mini to IOS 7 (V7.0.3) from IOS 6. After the update all my PDF-doucments were available in ibooks-App. Yesterday I would like to check one of the documents and the PDF-Folder in ibooks