Questions on list

I have a java bean
and i got data from my db and when to add into my bean so I have the code like
while(rs.next()){   
                       hallA myselect= new hallA();
                       myselect.setName(rs.getString("name"));
                       myselect.setGender(rs.getString("gender"));
                       myselect.setHall(rs.getString("hall"));   
                       myselect.setRnumber(rs.getString("rNumber"));               
                       myselect.setCurricumlum(rs.getString("curricumlum"));
                       myselect.setYear(rs.getString("year"));
                       myselect.setMobilNo(rs.getString("mobilNo"));
                       myselect.setEmail(rs.getString("email"));
                       myselect.setStatue(rs.getString("statue"));
                       myselect.setFinalYear(rs.getString("finalYear"));
                       myselect.setPeriodOne(rs.getString("periodOne"));
                       myselect.setPeriodTwo(rs.getString("periodTwo"));               
                      myselect.setUniversityN(rs.getString("universityN"));
                       rowCount++;                      
                       *allFound.add(myselect);*
                  }// end while *1 what type I should give to my list List allFound = new ArrayList();*
2. if I want to pass the object allFound to display in jsp what can I do?

thank you , got first one
is the other way to display the value in allFound in 25 row per page?

Similar Messages

  • Question on list of value for both of deski and webi

    Hi,
       I have two questions on list of values issue: (we are using boxir3.1)
    1) on the deski, when I click on the Values on the 'Enter or Select Values' prmopt, the list of value it shows is not what it should be, it is pointed to other object, for expense, the value should show department code but the list of values shows the company name. I did refresh, and also refreshed on the universe side: restored default, automatic refresh before use. then export the universe, still doing the same. the only way to correct it I found so far is to change the prompt text which I don't prefer (we used userresponse in the report, it will be too much to change.
    2) for the webi report, when I click on the 'Refresh Values' on the prompts page, it shows (No value). I also checked on the universe side, did restored default, automatic refresh before use. then export the universe, still doing the same.
    Please help,
    Thanks,
    jt

    Try a new universe on the same connection, build the same objects. Just something simple to test the LOV results. If it doesn't work, it could be a data issue, or a permissions issue as suggested.
    You should check the SQL created for the LOV in the universe and verify that it's going to the right place.
    You can check to see if there is another LOV using the same name and if so, change it. The LOV name is found on the properties tab. You can find the LOV in the universe folder as a sub-folder from your environment. In my case, I have a folder named @Dev and a folder for universes inside that, then a folder beyond that with the universe name that contains the LOV files. Find the one in question and delete it, ensuring that it gets recreated.
    Try making sure that any unv and lov files on your server are purged. You may also need to test cache testings. The easy way to test if it's a cache issue is to reboot your system, which should clear the cache.

  • Acrobat XI Pro is changing a series of yes / no questions into lists where you can only select one per column.  How do I get the software to look at each line independently as a yes / no question?

    Most of my document is fine.  However a few pages have a series of yes/no questions and the software is interpreting those questions as a list to check one from many.  I need it to look at each line independently.  How can I edit this form to fix this problem?

    I do not understand what you are trying to describe.  Can you post a screenshot: https://forums.adobe.com/thread/1070933
    Also, you posted in the forum for Acrobat.com online services; you'd have a much better chance to get a helpful reply if you ask in the Acrobat forum.

  • Finder Questions / Wish List

    So far so good on Leopard. "Back to my Mac" and screen sharing for me are worth the cost of admission alone. Here are a few finder related questions, perhaps wish list items:
    1. Stacks - I'm not a big fan yet.. In Tiger I had my applications folder in the dock. Right clicking on it would bring up a scrollable column containing all of my apps. Now I have to click on the stack, and then click on the "xx more in finder" icon to get to any app that starts with a letter greater than "s." Is there a way to scroll stacks?
    2. Quick view - awesome stuff.. Select your files, hit the space bar, and see what you have. Very nice and a real time saver. However, if I select a batch of files to view I can't trash them individually from the quick view. Is there a keyboard shortcut for this? I could use coverflow but quick view just feels more 'precise'
    3. Is there any way to make my dock at the bottom of the screen look like it does on the side? I keep my dock very small at the bottom of the screen and really have a hard time seeing what apps are open (the little dot underneath the app blends in with the white '3D' dock tray.
    4. Is anyone else experiencing an odd problem where you can't select anything on your desktop? This has happened twice to me now and is quite annoying. Can access things from the finder when this glitch takes effect but can't on the desktop.
    -Lon

    Wish List:
    Graphic UI seems a bit over board, simple and understated are easier to work with.
    Get ride of the ugly transparent menu bar.
    Get ride of the ugly 3D dock.
    Get ride of the new window colors, they are too dark.
    Get ride of the ugly start up screen (purple/star field). again simple and understated are easier to work with.
    Bring back hierarchy menu selection from the dock.

  • Basic Questions On List View Plug-in For Lightroom

    I need some basic information about the List View Plug-in for Lightroom:
    HERE ARE MY QUESTIONS:
    I have 40-60 photos per folder. Can List View list that many files on successive pages?
    Most of the time I have 15-30 keywords or keyword phrases listed per picture. If I could widen the column I could see all of them. If the column does not widen, will the keywords not shown still be there to be exported to an Excel column, and then shown?
    The thumbnail pictures on the end of all the summary lines are cool, but can I delete them before exporting to Excel?
      Thank You Very Much for any information about this Plugin,
    THANK YOU,
    Sandy

    Your questions seemed to be asked without actually tried the trial of the plug-in.  I did, just now, and from what I can tell, with only have 20 images to test with since that is the trial limitation:
    1)      The number of rows is fixed, and you can use the slider at the top-right to move from one page to the next.
    2)      The columns do not change width in the plug-in though what you can’t see still gets exported to Excel although I’d expect all the keywords to be in one Excel column, not one column each.
    3)      There are several sizes of thumbnails that can be selected from, including None—this is new compared to the one screen-capture on the plug-in website, so setting None as the thumbnail size  is how you’d prevent thumbnails from going to Excel.  I tried exporting thumbnails and they were all broken images, so maybe it doesn’t actually work, or maybe there is a limitation in the trial mode.

  • Urgent help! question about list.toStirng()?

    currently, i am working on a word counter programe, i stored each word and it's corresponding occurrence in a linkedlist. now i need to sort the list in the decreasing order of occurrence.
    and the output would look like this:
    not 2
    a 2
    i 1
    am 1
    girl 1
    yet 1
    woman 1
    but the output so far i got looks like the following:
    [not   2, a   2, i   1, am   1, girl   1, yet   1, woman   1]
    and i know it becasue i uesed the "list.toString()"method. the question is how can i convert this format to the previous one or i could reach it in someway else?would anyone give me some tips?
    the following code is i used for sorting:
    public String results() //Compare the occurrences of  every two words in the list and reorder each node of
      {                       //the list in decreasing order of it's corresponding occurrence
           String str = "";
           ListIterator iter = list.listIterator();
           int length = list.size();
           int i,j;
           int count1, count2;
           WordNode temp1, temp2;
          for(i = 0; i < length-1; i++)
                for(j = i + 1; j<length; j++)
                   temp1 = (WordNode)list.get(i);
                   temp2 = (WordNode)list.get(j);
                   count1 = temp1.getCount();
                   count2 = temp2.getCount();
                   if(count1 < count2)
                        list.remove(i);
                        list.add(i,temp2);
                        list.remove(j);
                        list.add(j,temp1);
          str = list.toString(); //Call the toSting() method in WordNode class to get each word and it's occurrence
          return str;
      }much appreciated.

    Hi there,
    The problem you have here is that you are not separating the distinct phases of your program. These are:
    - build the sorted list
    - print report
    Thus, if I had to write the code below, I would change your results by two methods:
    List sortedResult = sortWords();
    printReport(sortedResult);
    My sortWords() would be your results(), except that I would return list at the end, not list.toString().
    Then, I would have all the flexibility in the world inside my printReport( List ) method. As a start, it would probably look like this:
    public void printReport(List aList) {
      Iterator iter = list.iterator();
      while(iter.hasNext()) {
        System.out.println(iter.next());
    }Regards,
    Manuel Amago.

  • Question re: list of phone contacts

    hi there all
    i just got my iPhone, and i am kind of clueless on using it- but one question i have is regarding the way my phone list is alphabetized. my former phone (razor) had it by first name which is how i like it, but on the iPhone it is by last name- how to i change it to alphabetize by first name?
    thanks =
    Also, is there a way to sync my list of phone contacts to my address book which i have never used on the mac?

    First, go here for tutorials and information:
    http://www.apple.com/iphone/
    Second, go here for the user manual and read through it:
    http://support.apple.com/manuals

  • "My Questions" still lists my question "unresolved" AFTER it got "solved"

    2-12-06
    I marked the reply as having "solved" my question, but the
    "My Questions" reminder still lists my question as "unresolved".
    Perhaps because I sent a reply to the person that replied to my
    question?
    BillJones1 (Appleworks forum/"Boolean search"/2-12-06)
    Thanks
    eMac G4 (build 7W98) 125 GHz, 256 MB, 37 GB   Mac OS X (10.3.9)   dialup 56KB modem

    Hi, Bill -
    In addition to marking the specific reply as "Solved", at the top of the thread (above your initial post asking the question) should be a box (the one I just checked on is pale-blue). In that box is a choice to mark the qustion as "answered". Click that. In the new screen is a place to add an additional comment (you do not need to add one) and a Mark as Answered button - click that button.
    That will clear the question from the list in the sidebar, although it may take some time (and perhaps a log out and back in) in order to have it actually disappear from the display.

  • Can you link specific questions to list variables where it pops up choices depending on the question?

    If i am asking a specific question for example:
    Alpha Sector, then if Alpha Sector was selected then you must list what POSITION on ALPHA work is being performed.
    Alpha = Alpha Position 1
                Alpha Position 2
                Alpha Position 3
                Alpha Position 4
                Alpha Position 5 , then depending on which of these are selected, it also has another question as well. What will be the FREQUENCY on that SPECIFIC POSITION.
    Say that Alpha was SELECTED, then work is being performed on ALPHA Position 1, then another popup here should allow another question to be answered: What is the FREQUENCY for ALPHA Position 1 ? then once this was asked if Alpha Position 2 was also SELECTED, then go through the same above ROUTINE. 
    Alpha = Alpha Position 2 was also selected, then another popup here should allow another question to be answered: What is the FREQUENCY for ALPHA Position 2 ? and SO ON.
    How is this accomplished? Would i have to create new pages then link to them or what?
    Please help, feel free to call or email me direct.
    Thank you,
    [email protected]
    314-421-9134
    Robert

    Thanks for your suggestions, Magnus, you really have had a good think for me - I appreciate that!
    What I am doing is report writing in which 90% of the report is the same for everyone. Except the cover page with Name and Address details, and Report title; the initial section which is the same for everyone except for specifics such as amount to invest, reason for investment, term to invest over, things like that.
    The end of the report is the recommendations section which is where I use freetext to create a bespoke solution - this cannot be automated.
    Just automating the cover page and the intro section save me huge amounts of time which I can then use on research and fund analysis, leaving the principles of investment section pretty much the same for everyone, as here I'm describing the principle and theory.
    After I created this Report Template my average report creation time went down from about 3 to 4 hours, to about 45 minutes. I guess the automation itself doesn't save as much time as the templating does, but it allows me to concentrate on the important bit and not worry if I have left something out - or in - that changes the overall thrust of the report.
    I cannot load Lotus WorpPro on Parallels, nor on Virtual PC, so the lack of automation really is a pain here. I see it as a weakness of Apple products for business, as I am sure Microsoft do which is why they have dropped VBA support for Office 2008.
    I have got NeoOffice as well as OpenOffice for Mac on my system, but really they aren't atable enough to use, and the formatting is pretty flaky. It certainly isn't completely consistent with Office itself.
    So, I am left with the conclusion that progress only means a reduction in features!
    But maybe I'm missing something?
    Mac

  • Interactive Report question - report list question

    Hi!
    I was wondering if I turn off the option to show report as tabs is there a possibility to make another page with list of reports created by current logged in user with an option to click on the name of the report and the IR region shows the saved report?
    With regards,
    PsmakR

    Hi Imran,
    Basically we can have one basic list and 20 interactive lists.
    Once when we reached to 20th list then it goes to shortdump.
    So, inorder to avoid that we can modify the system field
    SY-LSIND.
    Just see this example and try this. I hope this will be useful for you.
    REPORT  ZSAMPLE1111.
    data: begin of itab occurs 0,
            matnr like mara-matnr,
            mtart like mara-mtart,
            mbrsh like mara-mbrsh,
            end of itab.
    data: begin of jtab occurs 0,
          maktx like makt-maktx,
          spras like makt-spras,
          end of jtab.
    select matnr mtart mbrsh into table itab from mara up to 10 rows.
    loop at itab.
    write:/ itab-matnr, itab-mtart, itab-mbrsh.
    hide itab-matnr.
    endloop.
    at line-selection.
    select maktx spras into table jtab from makt where spras = 'EN' .
    case sy-lsind.
    when '1'.
    loop at jtab.
    write:/ jtab-maktx, jtab-spras.
    endloop.
    when '20'.             * changes see here.
    sy-lsind = 1.
    when others .
    write:/ 'name',sy-lsind.
    endcase.
    I hope this will be helpful for you.
    <REMOVED BY MODERATOR>
    Cheers,
    Swamy kunche
    Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:01 PM

  • A question about List

    Can anyone please explain what the square symbol after an added file name in a List object is.

    It is the run-time type signature.
    *see full list in the 'Type Signatures' section in this link: http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/types.html
    Z boolean
    B byte
    C char
    S short
    I int
    J long
    F float
    D double
    L fully-qualified-class ; fully-qualified-class
    [ type  type[]
    ( arg-types ) ret-type method type
    For example, the Java method: long f (int n, String s, int[] arr); has the following type signature: (ILjava/lang/String;[I)J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Stupid question: Buddy list wireless/rss symbol

    I have tried to find the answer to this everywhere in iChat help and this discussion board, but I can't get an answer.
    In iChat's buddy list, next to some buddies, there is a little wireless/rss radio symbol. What does that mean?

    They are on a Mobile or Cell phone with AIM Express using a Web browser or AIM Mobile installed (more than likely the latter)
    iChat can be set up to forward to a Mobile in iChat 4 in the accounts section of the Preferences.
    8:55 PM Friday; June 13, 2008

  • Every time I try to get on the ipod, it says I have to add more security questions, but none are listed, just two buttons that say submit.

    Every time I try to get on the Ipod games, it says I have to add more security questions, but no questions are listed, just two buttons that say "Submit" and places to put the answers to the unstated questions.  It also asks for a second email address.  It then proceeds to lock up.  Is this a scam of some sort.  There is nothing on the apple website about having additional security questions other than the one, or having a second email to operate the ipod.

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    Whichever method you use, you probably won't get a response until the 26th. If you absolutely must make a purchase before then, create a new Apple ID; you won't be able to transfer previous purchases or iTunes Store credit to it.
    (95471)

  • How can I export multiple selections in a list box into a .csv file?

    Hi all, I've created a form in Acrobat X with a list box enabled for multiple selections. When I try to export the filled out form into a .csv file, only the first selection shows up. Can anyone help me figure out how to get all selections to export? Thanks!

    Thank you for your quick response!
    Once a recipient fills out the form (which has two questions with list boxes and multiple selection enabled) they send the completed form back to me. When I open the completed form, I am given the option add the completed form to a reponse file which was set up when I distributed the form. When I open the reponse file, it lists all of the responses in rows, and the values that were chosen in the form are arranged in columns. In this file, the list boxe columns have multiple values, separated by commas (which is what I'm looking for). At this point there is an option to export into a .csv file or an .xml file. If I choose the .csv file and open in excel, only the first selection shows in the list box column rather than all selections that were initially made by the responder.

  • Validation settings for a list in Sharepoint 2010 to find if there is a document attached to the list item

    Hi Everyone,
    Greetings!!!
    I have a very peculiar question on List validation settings. I want to validate a list item whether user has attached a document to the list item or not? The list item should not be saved until a document is attached to it. Is it possible to perform this
    validation for a list item in a list?
    Please let me know.
    Thanks,
    Thiru
    Tirumal

    Can be done using java script as below
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c93d7611-f634-4c03-ae0d-3b5ecfe5ca6a/how-to-make-attachment-required-field?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5a3fe11a-75ea-44bd-aab9-80817640290f/how-to-make-an-attachment-required-field-in-a-custom-newform-sharepoint-2010-list?forum=sharepointcustomizationprevious
    Dont think below is right
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fba48bc1-8708-401c-8a37-bc00f77eeae3/making-attachments-required-in-a-custom-list?forum=sharepointadminlegacy

Maybe you are looking for

  • New Mac-Mini on a 1080p projector

    Would the new mac mini (with leopard) work well with a 1080p projector (Marantz 15s1) using dvi to vga connection? I tried connecting my Macbook Pro to the projector and the picture looks soft even when I selected 1080p resolution on the macbook pro.

  • IPhoto 7.1.1. not launching after an archive and install of OSX 10.4

    Dear everybody, after some bad hassles with kernel panics on start up I had to do an archive & install as a last resort. Turned out to be pretty easy and worked fine - as recommended I started trying all 3rd party hard-ware, but instead of that IPHOT

  • Get text frame's angle of rotation

    Hello. Does anyone know if there's a way to get/return a text frame's angle of rotation? I've searched through the CS4 AppleScript documentation and the closest I found was a text frame's "matrix" property which seems to be used to rotate an object b

  • OnClick for PL/SQL Code???

    Hello, I created a form and added a button. When that button is pressed, I want to execute PL/SQL code. In the list of JavaScript Event Handlers there is an event 'OnClick'. But I see nothing simular for the PL/SQL Button Event Handler. Where do I ha

  • Images disappearing from slideshow - also unable to export these photos

    Hi I hope someone can help me.... I made a slideshow of holiday photos and it played successfully 5 or 6 times, but when I came back to it recently some of the photos just don't appear (black screen) - when I went through it the photos that weren't a