Please help me on Data Grid or Smiliar thing in JSP ?

I am developing a J2EE application where I have the following scenario:
On a JSP Page there's a button 'Fetch' which when clicked fetches some dynamic records based on some criteria from the Oracle DB and displays them on the JSP page.
Now these records, say 50, have to be displayed in a table like format where the first column of every row will be a radio button.
Now as I click any one radio button and click on the submit button below my records table, the next page should read the entire record corresponding to that particularly clicked radio button.
In .NET , I have heard of Data Grids API doing this, but in Java I don't find any solution on how to implement this UI situation.
Any custom tags or API known to you for this, please share.
Awaiting for your creative responses. :)

I think you all aren't able to interpret my problem statement correctly.I don't see any evidence of that. All I see is evidence that you didn't understand any of the responses.
If DataGrids and their action triggering would have been a plain HTML/Javascript thing then perhaps there hadn't been separate APIs in other web languages for this.The conclusion is that you should be using one of those, such as JSF, as you were already advised in all those inadequate responses. Alternatively you can continue to fantasize that such a facility is present in JSP when it isn't.
just thought if some geek could help me out on developing this specific APIYou may have thought it but you didn't ask for it. You asked for 'Any custom tags or API known to you for this, please share'. You got the answer to the question you asked.
I've no option but to proceed on my own.I agree.

Similar Messages

  • HELP: XML or Data Grid failing from server

    Help,
    I am working a proof-of-concept flash function for a client
    that reads an XML file into a data grid. As coded, it works great
    when I run it locally, but when I transfer it to the web server it
    doesn't work (grid object shows but no data). And I guess I don't
    understand remote debugging because when I "Begin remote debugging
    session" and then "Open from site" it appears to download and
    again, runs fine.
    The the remote SWF is located at
    http://www.gw-webs.com/TSI/teamTSI.SWF.
    The XML and HTML are also located in the same remote folder.
    The code is all in Frame 1 of the file (not in a movie clip):
    _global.nameAR = new Array;
    _global.titleAR = new Array;
    _global.biographyAR = new Array;
    _global.contactAddressAR = new Array;
    _global.contactPhoneAR = new Array;
    _global.contactEmailAR = new Array;
    _global.pictureFileAR = new Array;
    _global.ARindex = 0;
    hd_name._visible = false;
    hd_title._visible = false;
    hd_biography._visible = false;
    hd_phone._visible = false;
    hd_email._visible = false;
    hd_mail._visible = false;
    function processXMLData(xml:XML)
    var i :Number = 0;
    var num:Number = xml.firstChild.childNodes.length;
    for (var i = 0; i < num; i++) {
    _global.nameAR
    =
    xml.firstChild.childNodes.childNodes[0].childNodes[0].nodeValue;
    _global.titleAR
    =
    xml.firstChild.childNodes.childNodes[1].childNodes[0].nodeValue;
    _global.biographyAR
    =
    xml.firstChild.childNodes.childNodes[2].childNodes[0].nodeValue;
    _global.contactAddressAR
    =
    xml.firstChild.childNodes.childNodes[3].childNodes[0].nodeValue;
    _global.contactPhoneAR
    =
    xml.firstChild.childNodes.childNodes[4].childNodes[0].nodeValue;
    _global.contactEmailAR
    =
    xml.firstChild.childNodes.childNodes[5].childNodes[0].nodeValue;
    _global.pictureFileAR
    =
    xml.firstChild.childNodes.childNodes[6].childNodes[0].nodeValue;
    var dataAR = new Array;
    for (i = 0; i < num; i++) {
    dataAR
    = ({Name: _global.nameAR, Title: _global.titleAR
    dg_team.dataProvider = dataAR;
    var xmlData=new XML();
    System.useCodepage = true;
    xmlData.ignoreWhite=true;
    xmlData.onLoad = function(ok:Boolean) {
    if (ok) {
    processXMLData(this);
    } else {
    trace("XML did not load");
    // Create data grid click listener object
    var dgListener:Object = new Object();
    dgListener.cellPress = function(evt_obj:Object) {
    i = evt_obj.itemIndex;
    if (_global.nameAR <> null) {
    hd_name._visible = true;
    tx_name.text = _global.nameAR
    else {
    hd_name._visible = false;
    tx_name.text = "";
    if (_global.titleAR <> null) {
    hd_title._visible = true;
    tx_title.text = _global.titleAR
    else {
    hd_title._visible = false;
    tx_title.text = "";
    if (_global.biographyAR <> null) {
    hd_biography._visible = true;
    tx_biography.text = _global.biographyAR
    else {
    hd_biography._visible = false;
    tx_biography.text = "";
    if (_global.contactPhoneAR <> null) {
    hd_phone._visible = true;
    tx_phone.text = _global.contactPhoneAR
    else {
    hd_phone._visible = false;
    tx_phone.text = "";
    if (_global.contactEmailAR <> null) {
    hd_email._visible = true;
    tx_email.text = _global.contactEmailAR
    else {
    hd_email._visible = false;
    tx_email.text = "";
    if (_global.contactAddressAR <> null) {
    hd_mail._visible = true;
    tx_mail.text = _global.contactAddressAR
    else {
    hd_mail._visible = false;
    tx_mail.text = "";
    xmlData.load("teamTSI_en.xml");
    // Add listener.
    dg_team.addEventListener("cellPress", dgListener);
    stop();

    1. your link is 404.
    2. use the attach code option to display code: your code in
    mangled and difficult to read
    3. when using the "new" constructor you should use
    parentheses following the class name. (eg, _global.nameAR = new
    Array(); )
    4. the usual problem is asynchronous (and delayed) loading
    when an application is placed online. that doesn't appear to be
    your problem, but it's difficult to read your code and quickly spot
    that. the 2nd most common problem would be a typo. (eg,
    "teamTSI_en.xml" should be "teamTSI_EN.xml" )

  • TS3991 Please help -- my iCal data has disappeared from iCloud website!

    Hi -- I just opened iCal via the iCloud website on my MacBook Air.  My calendar data appeared for a flash, then disappeared -- now almost ALL of my calendar data is completely gone from the iCloud website.  I checked the calendar app on my iPhone 4 and the data is still there, so I turned on Airplane Mode on my phone hoping the blank calendar wouldn't sync to my phone that way.  My contacts seem to still be there.
    Please help -- where did the data go, and how can I get it back onto the iCloud website?  Thanks in advance!

    Thank you.  You may have been right about the server glitch.  After hours, literally, on the phone with Support trying to load the calendar from my phone, and finally giving up, my calendar on the website was magically restored 24 hours later. 
    I'm guessing I'm not the only one this happened to, and that they restored to an earlier version for me and whomever else's data was lost.  Pretty scary, actually -- and annoying! 
    Thanks again for your help.

  • Please help! Old dates on new photos?

    I recently backed up my iphotos to disk(CD) as a precaution prior to upgrading to Snow Leopard. It appeared everything went smoothly however I'm noticing when I go into my "2010" Library, where all my photos were previously automatically organized by month/date, that the last 5 months now show "2004" as I scroll through. Even when "Get Info" on a photo that I took in December of 2010, it shows June 04, 2004.
    My iphoto Library doesn't even start until 2006, which is when I got this iMac. And I now have an "Early Photos" in my Library that I don't believe was there before.
    I can now only view photos from November and December 2010 when I go to the "Last 2 Rolls" or when I view the entire Library that has all the years. But even when I view all years, they are completely disorganized...2008 photos are mixed in with 2006 photos, etc. I'm considering upgrading to iPhoto 11 through the iTunes App store but I want to get my current photos back to the organized fashion they were in prior to my back-up to disk, which seems to be when the problem occured. Please help. Thanks!

    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Please help, new blackberry data transfer

    I had to replace my Blackberry, and do not have the old one. I would regularly sync my old Blackberry and can view the contacts in Outlook, but don't know how to get them onto my Blackberry. PLEASE HELP.

    I'm still very much a novice on a BB, after having used Palm products for years. But if I were you, I'd check to see if your desktop manager is the same version as your device - if not it can be downloaded. At that point syncing w/ your desktop ought to transfer the data if your syncronization is configured correctly. I hope this at least gets you started
    Phil

  • Please help me capturing data from HTML table

    Hello Everyone,
    Our Storage subsystem generates a html table containing all LUN allocation for printing. I am saving this html file on disk to collect all table infomation and to put it into a database.
    I am having problems extracting table information from the html file. I tried using regular expressions but still not going anywhere. Below is a sample few lines from the html file.
    Please your help is appreciated solving this problem how to collect this information from a HTML file or if Java has any class for this type of purpose.
    Please advice
    arsi
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!-- saved from url=(0068)https://10.210.44.14/cgi/rsConfigPrintDisplay?200702121685061633,FS,2 -->
    <HTML><HEAD><TITLE>Volume Assignments</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252">
    <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
    <BODY><FONT face="Times New Roman,Times" size=2>
    <TABLE cellSpacing=1 cellPadding=3 border=2>
    <CAPTION>
    <H2>Volume Assignments</H2></CAPTION>
    <TBODY>
    <TR vAlign=top>
    <TH><FONT face="Times New Roman,Times" size=2>Volume</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Location</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>LSS</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Volume Type</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Size</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Storage Type</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Host Port</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Host Nicknames</FONT></TH></TR>
    <TR vAlign=top>
    <TD><FONT face="Times New Roman,Times" size=2>02A-25015</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Device Adapter Pair 1</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>Cluster 1, Loop A</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>Array 2, Vol 042</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>0x10</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Open System</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>000.9 GB</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>RAID-5 Array</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Fibre Channel</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>ID 00, LUN 502A</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>R1L01_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R1L01_1,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R2L08_1,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R2L08_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>S3L06_0, S3L06_</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>1, S4L06_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>S4L06_1</FONT></TD></TR>
    <TR vAlign=top>

    i wrote the programme for 2 stepper motor as attachment file below. they are run. but when the "start" button is ON then the "emergency stop" is not effects.
    for "emergency stop" functions, i used 4 limit contactors. if one of them is "on" then the programme will be stop.
    but in fact, when the system is running, i can not stop if one of the limit contacor is on.
    cuold you please help me to do with this problem.
    thanks
    Attachments:
    EMERGENCY STOP.vi ‏435 KB
    toolpaths-ut.vi ‏64 KB
    parallel program motor 1,2.vi ‏96 KB

  • When i try to send email from my ipad i get the message The recipient "£)()&&£)" was rejected by the server. This has only just started to happen and I don't know why. Please help. I have tried lots of things now and cannot solve it.

    When i try to send email from my ipad i get the message The recipient "£)()&amp;&amp;£)" was rejected by the server. This has only just started to happen and I don't know why. Please can someone help. I have tried lots of things now and cannot solve it.

    "Your email account" means to tap on the name of your email account. Whatever it is listed as in the settings.
    In my mail settings, one of my email accounts is a Comcast account. I tap on the Comcast name and it brings up this window.
    Then I tap on the arrow under the Outgoing mail server smtp setting to get to the next window.
    In the resulting window, I then tap on the arrow next to the smtp server under the Primary Server setting.
    That brings up this window in which I check to make sure that my user name and password have been entered correctly. If those items are missing, enter them in the appropriate fields and then tap done.

  • Please help with: A date split into 3 Combo Boxes ....

    Can someone help me with this Please?
    I have a date for a Date of Birth i.e. dd/MM/yyyy
    I need to split it up an place it into 3 combo boxes i.e. Day Combo, Month Combo and Year Combo.
    This is the code I have to set the combo boxes, now I need to bring it back into the combo boxes.
    can someone help me with the code as I need to have this finish on friday and I am running out of time. I just dont know what to do PLEASE SOMEONE HELP...
    Thanks
    Craig
    // List days
      private void DayOfTheMonth(int highNumber,JComboBox comboBox){
        comboBox.addItem(" ");
        for (int index = 1; index < highNumber; index++) {
          comboBox.addItem(String.valueOf(index));
      private void DaySpecificComboBox()
        DayOfTheMonth( 32, DayjComboBox);
    // List Months
      private void Month(){
        MonthjComboBox.addItem("");
        MonthjComboBox.addItem("January");
        MonthjComboBox.addItem("February");
        MonthjComboBox.addItem("March");
        MonthjComboBox.addItem("April");
        MonthjComboBox.addItem("May");
        MonthjComboBox.addItem("June");
        MonthjComboBox.addItem("July");
        MonthjComboBox.addItem("August");
        MonthjComboBox.addItem("September");
        MonthjComboBox.addItem("October");
        MonthjComboBox.addItem("November");
        MonthjComboBox.addItem("December");
    //List Years
      private void Year(int highNumber,JComboBox comboBox){
        comboBox.addItem(" ");
        for (int index = 2002; index > highNumber; index--) {
          comboBox.addItem(String.valueOf(index));
      private void YearSpecificComboBox()
        Year( 1900, YearjComboBox);
    private String StringFromDateFields(){
        int month =1;
        if (MonthjComboBox.getSelectedItem().equals(JANUARY))
          month = 1;
        else
          if (MonthjComboBox.getSelectedItem().equals(FEBRUARY))
            month = 2;
          else
            if (MonthjComboBox.getSelectedItem().equals(MARCH))
              month = 3;
            else
              if (MonthjComboBox.getSelectedItem().equals(APRIL))
                month = 4;
              else
                if (MonthjComboBox.getSelectedItem().equals(MAY))
                  month = 5;
                else
                  if (MonthjComboBox.getSelectedItem().equals(JUNE))
                    month = 6;
                  else
                    if (MonthjComboBox.getSelectedItem().equals(JULY))
                      month = 7;
                    else
                      if (MonthjComboBox.getSelectedItem().equals(AUGUST))
                        month = 8;
                      else
                        if (MonthjComboBox.getSelectedItem().equals(SEPTEMBER))
                          month = 9;
                        else
                          if (MonthjComboBox.getSelectedItem().equals(OCTOBER))
                            month = 10;
                          else
                            if (MonthjComboBox.getSelectedItem().equals(NOVEMBER))
                              month = 11;
                            else
                              if (MonthjComboBox.getSelectedItem().equals(DECEMBER))
                                month = 12;
                              String
                              DOB = DayjComboBox.getSelectedItem()+"/"+String.valueOf(month)+"/"+YearjComboBox.getSelectedItem();
                              return DOB;

    Thanks for your time.
    I could not get that to work ??
    I have come up with this code whitch seams to work. Thought you may like to see it
         String dobxml = xmlDoc.getValueOf(clientInfo, "DOB");
          String dob = dobxml.replace('/', ' ');
          System.out.println(dob);
          StringTokenizer tokenizer = new StringTokenizer(dob);
          String day = tokenizer.nextToken();
          String month = tokenizer.nextToken();
          String year = tokenizer.nextToken();
          System.out.println(dob);
          DayjComboBox.setSelectedItem(day);
          MonthjComboBox.setSelectedIndex(Integer.parseInt(month));
          YearjComboBox.setSelectedItem(year);ps thankyou
    Craig

  • All the dates I have put on my Ical and even on the calendar of Iphone are disappeard, please help, all the dates I have put on my Ical and even on the calendar of Iphone are disappeard, please help

    I have a IMac and IPhone, because Of Icloud, all my appointments disappeared from the both apple accessories, can you help me please?

    Thank you Carolyn, I understand that and do use the same P/w for both the iphone and the computer and the apps were origionally for the iphone anyway, they just used to back on the computer and now they wont and the imac even cancels them off my iphone when I sync. And it says "Itunes" has made an error, try again...with the coes -54 and -50. This means I canot ack up my iphone properly. 

  • Please help me fixing dates

    Hello
    I have a java application which gets(searches, inserts and updates) data from db2 db, but I moved all data from db2 to sql server.In my app there are many date feilds and I am getting problem with these dates. I have two types of date columns, one with just date and other with timestamp.
    In db2 the datatypes look something like this for these columns.
    DATE_OF_BIRTH (Date)
    Chg_Timestamp (Timestamp)
    In sql server
    DATE_OF_BIRTH (datetime)
    Chg_Timestamp (datetime)
    In the original project java.sql.Date class was used for all dates, but I was getting error :
    java.lang.ClassCastException: java.sql.Timestamp
    So I changed all dates to java.util.Date, then the search function was working. But now I am unable to update date fields into the database.
    The generated sql on the server is something like this for DOB col:
    UPDATE PERSON_IDENTITY SET CHG_TIMESTAMP = ' 2005-01-28 12:06:03.496' , DATE_OF_BIRTH = ' Tue Aug 24 00:00:00 PDT 1948 ' where PERSON_IDENTITY_ID =1
    So the Dob field is not getting updated, it should look something like this to get updated : 08/24/1948.
    So why do you think the dob date is getting generated like this?, which date object should I use to get the correct date format? Please let me know.
    Thanks for your time,

    The code looks something like this:
    public java.util.Date getDateOfBirth() { return (java.util.Date) read("DATE_OF_BIRTH"); }
    /** nullable **/
    public void setDateOfBirth(java.util.Date value) { write("DATE_OF_BIRTH", value); }
    static public int sizeDateOfBirth() { return 10; }
    java.sql.Timestamp getChgTimestamp() { return (java.sql.Timestamp) read("CHG_TIMESTAMP"); }
    /** NOT nullable **/
    void setChgTimestamp(java.sql.Timestamp value) { write("CHG_TIMESTAMP", value); }
    static int sizeChgTimestamp() { return 26; }
    public static PersonIdentityEntityCondition whereDateOfBirthEqualTo(java.util.Date a) { return new PersonIdentityEntityCondition(new EqualToPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthNull() { return new PersonIdentityEntityCondition(new NullPredicate("DATE_OF_BIRTH")); }
    public static PersonIdentityEntityCondition whereDateOfBirthNotNull() { return new PersonIdentityEntityCondition(new NotNullPredicate("DATE_OF_BIRTH")); }
    public static PersonIdentityEntityCondition whereDateOfBirthNotEqualTo(java.util.Date a) { return new PersonIdentityEntityCondition(new NotEqualToPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthLessThan(java.util.Date a) { return new PersonIdentityEntityCondition(new LessThanPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthLessThanOrEqualTo(java.util.Date a) { return new PersonIdentityEntityCondition(new LessThanOrEqualToPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthGreaterThan(java.util.Date a) { return new PersonIdentityEntityCondition(new GreaterThanPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthGreaterThanOrEqualTo(java.util.Date a) { return new PersonIdentityEntityCondition(new GreaterThanOrEqualToPredicate("DATE_OF_BIRTH", a)); }
    public static PersonIdentityEntityCondition whereDateOfBirthBetween(java.util.Date a, java.util.Date b) { return new PersonIdentityEntityCondition(new BetweenPredicate("DATE_OF_BIRTH", a, b)); }
    static PersonIdentityEntityCondition whereChgTimestampEqualTo(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new EqualToPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampNull() { return new PersonIdentityEntityCondition(new NullPredicate("CHG_TIMESTAMP")); }
    static PersonIdentityEntityCondition whereChgTimestampNotNull() { return new PersonIdentityEntityCondition(new NotNullPredicate("CHG_TIMESTAMP")); }
    static PersonIdentityEntityCondition whereChgTimestampNotEqualTo(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new NotEqualToPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampLessThan(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new LessThanPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampLessThanOrEqualTo(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new LessThanOrEqualToPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampGreaterThan(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new GreaterThanPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampGreaterThanOrEqualTo(java.sql.Timestamp a) { return new PersonIdentityEntityCondition(new GreaterThanOrEqualToPredicate("CHG_TIMESTAMP", a)); }
    static PersonIdentityEntityCondition whereChgTimestampBetween(java.sql.Timestamp a, java.sql.Timestamp b) { return new PersonIdentityEntityCondition(new BetweenPredicate("CHG_TIMESTAMP", a, b)); }
    Thanks

  • Please help to select data by my condition?

    Hi everybody,
    I have a problem that I cannot resolved it, so I want to helped to write SQL.
    I have a records set as following:
    No. |     Name     |     Quantity     | GroupId
    1.      John          5          1
    2.      Henry          3          1
    3.     Mary          6          1
    4.     Paul          1          1
    5.     Thanh          12          1
    6.     Thao          8          1
    7.     Dat          4          2
    8.     Luan          7          2
    9.     Loan          9          2
    10.     Nhuan          9          2
    11.     Huong          2          3
    12.     Cau          1          3
    13.     Huu Anh          2          3
    14.     Hieu          5          3
    15.     Hung          17          3
    16.     A          3          4
    17.     B          1          4
    18.     C          2          4
    ...and so on (about 15 million records)
    I want to get records of each groupid (1 record/group) that sum of first records of each group must be greater than or equal to 10.
    For example:
    - Group 1: 5 + 3 + 6 = 14 > 10 => Result: No. 3 (Mary)
    - Group 2: 4 + 7 = 11 > 10 => Result: No. 8 (Luan)
    - Group 3: 2 + 1 + 2 + 5 = 10 >= 10 => Result: No. 14 (Hieu)
    - Group 4: 3 + 1 + 2 < 10     => No record returned.
    But I don't known how to select it. Can anybody help me?
    Thanks in advance!
    Edited by: xi`tin on 21:25 04-05-2012

    create table hutest (
      no number,
      name varchar2(50),
      quantity number,
      groupid number);
    insert into hutest values(1,  'John', 5, 1);
    insert into hutest values(2,  'Henry', 3, 1);
    insert into hutest values(3,  'Mary', 6, 1);
    insert into hutest values(4,  'Paul', 1, 1);
    insert into hutest values(5,  'Thanh', 12, 1);
    insert into hutest values(6,  'Thao', 8, 1);
    insert into hutest values(7,  'Dat', 4, 2);
    insert into hutest values(8,  'Luan', 7, 2);
    insert into hutest values(9,  'Loan', 9, 2);
    insert into hutest values(10, 'Nhuan', 9, 2);
    insert into hutest values(11, 'Huong', 2, 3);
    insert into hutest values(12, 'Cau', 1, 3);
    insert into hutest values(13, 'Huu Anh', 2, 3);
    insert into hutest values(14, 'Hieu', 5, 3);
    insert into hutest values(15, 'Hung', 17, 3);
    insert into hutest values(16, 'A', 3, 4);
    insert into hutest values(17, 'B', 1, 4);
    insert into hutest values(18, 'C', 2, 4);
    commit;
    select no,name from (
      select no,name,
             row_number() over (partition by groupid order by groupsumrunning) rn
        from (
          select no,name,groupid,
                 sum(quantity) over (partition by groupid order by no) groupsumrunning
          from hutest)
       where groupsumrunning >= 10)
    where rn = 1;

  • Please help - Entourage User Data database corruption???

    Trying to move my user data over to my new powerbook and when I try to import I get a -61 error and a 2 error.... Also, when I try to launch entourage on the old PB i get a 'can't access data' error and when it tries to rebuild the database it says it can't and the database may be beyond repair...
    Can someone, anyone give me some guidance on what to do...
    Thank you,
    John

    John,
    I suggest that you check out the info, and/or ask the question, at the Entourage MVP site. I've found it helpful in the past.
    Graham

  • Please Help with sql.Date problem

    I have spent alot of time on what I thought would be an otherwise simple task, and I beleive I am close to completion but I need some much needed help. I have posted various forms of my code to try and acheive the solution but the responses received have been limited.
    I am trying to delete a record from a MS Access database where a Date/Time field in the database (Err_Date) equals a date entered by the user via a textbox.
    I finally have gotten the correct record to delete from the database, but what is very strange is that Tomcat is throwing a 'java.lang.NullPointerException' error. Then when I re-open the database the correct record is deleted.
    Here is my code:
    <%@page import="java.sql.*"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.util.Date"%>
    <%
    Connection con = null;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:errorlog", "admin", "");
    catch(Exception e){
         out.println(e.getMessage());
    ResultSet rs=null;
    Statement stmt=null;
    try {
    stmt=con.createStatement();
    String end = request.getParameter("To");//FROM TEXTBOX
    java.text.SimpleDateFormat df = new java.text.SimpleDateFormat ("dd/MM/yyyy");
    java.util.Date d2 = df.parse(end);//CONVERT STRING TO UTIL DATE
    java.sql.Date date2 = new java.sql.Date(d2.getTime());//CONVERT TO SQL
    PreparedStatement stmnt = con.prepareStatement("DELETE FROM tblError WHERE Err_Date = ?");
    stmnt.setDate(1, date2);
    stmnt.executeUpdate();
    stmnt.close();          
    //CLOSE RESULT SET          
    rs.close();
         stmt.close();
    con.close();
    //CATCH EXCEPTIONS
    catch (SQLException e) {
         out.println(e.getMessage());
    %>

    well, in case anyone ever runs into a problem this stupid again the solution is as follows.
    the code to:
    1. retrieve date from text box
    2. covert string into util date
    3. convert util date into sql date
    4. delete from database
    is all correct.
    the problem is that I previously used String sql="SOME SQL DELETE" and then executed the result set, which of course I then had to close. This wasn't working so I switched to a Prepared Statement. I forgot to remove the 'rs.close()' statement in my code. So Tomcat was trying to close a result set that was never opened...

  • PLEASE HELP-PROBLEM IN DATA LOADING

    Hi,
    I had made a repair load for 5 records from a source ods to target ods.After Repair load I found 3 records are correct but 2 still missing . I made again repair load but data was again missing. All the 5 records share the same conditions...Plz tell me what can be the reasons that 3 are correctly loaded and 2 could not. What Can be the solution for them???
    Please reply!!1

    hi,
    have you chked in source ods active table for the presence of 5 records which you require.
    if so do the full repair upto PSA and chk its presence in the PSA.
    then load to ods and chk in new data table then activate the ods and chk
    so you could findthe records where it is missing.
    Ramesh

  • Unable to Export iMovie project in everyway I have attempted for the past 2 weeks. Please Help! Due date coming up!

    I've unable to Export iMovie project in everyway I have attempted for the past 2 weeks.I have a late 2012 iMac with 8gb of RAM and 700 gb of free space on the hard drive. The video I am trying to export is 48 mins long with most of the source footage from a NIkon D3100 and several other cammcorders. I've been exporting with Apple Intermediate codec because that was the only one that has work so far but it only worked once and since then I have had to make changes to the project and now I'm unable to get it to work. For all Quicktime exports in H.264 or AIC (my prefered format for this export since I figured it'd offer the highest quality when I import it into Encore for making a dvd out of it) Which just stops exporting in the last few minutes without explination as to why or it crashes and quits. It either leaves a partial file or nothing at all. When I do "export movie" I get a "not enough memory Heap zone error"
    I don't know what to do any help would be greatly appreciated!
    By the way I happen to have Adobe CS6 Production Premium but didn't know how to use it as well when starting the project and now really regret not using it because it appears to be 10x more stable and capable of handling all the tasks I want it to do.

    Hi
    Error -108 memFullErr  Ran out of memory [not enough room in heap zone]
    Turn off - TimeMachine usually works - re-try.
    (the Application down in the Dock - not the Device)
    But this can mean many thing's - My first thought is
    Free Space on Start-Up hard disk. How much ? (other disks do not count)
    AppleMan1958
    Are your event clips in h.264? If so, you can solve this by Right clicking on your Event Name and choose "Optimize Media". You can choose Full for 1080P or Large for 960P according to your preference.
    After you have optimized your Event, you should be able to Share with no problem.
    Lennart Thelander
    -108 mean you are running out of (free) RAM.
    Try restarting the computer just prior to sharing. That frees up RAM.
    from mynameisearl
    Final Entry
    Ok - after much cutting, trial and error and days of work I have never really established a root cause for the -108 error. Nothing I did resolved the issue to the orginal project.
    The only work around I have found is to split the Original Project into two.
    What I found was that anything around the 60 mins mark and above just failed to render in HD and showed the -108 error.
    What worked for me was creating two project files - one around 57mins long - the other a part 2 - around 17 mins long. All using exactly the same source clips, photo's, music and transitions as the orginal.
    This now works. I guess having it split in two makes it a little easier to work with as I wont have to keep rendering the first part which does not change but really wish Apple would throw some light on this.
    Anyway - I hope all of the above at least proves useful for others.
    Good Luck

Maybe you are looking for

  • Dead hard drive or software problem

    Hello Everyone!! I recently picked used 600 Mhz iMac It came with 10.3 installed, wanted to install 10.2.8 and the computer crashed when I started off the 9.1 install CD After the crash, the computer would not start up off the hard drive, and I've tr

  • Edited pdf saving on server machine

    Hi,       I am displaying pdf file on client machine from server using byte array object  in visual studio 2005 ,after  editing the pdf content using live cycle, i  want to save a copy of the edited pdf on server, is any idea for saving it in server,

  • TIME on ESS/MSS with the SAP Portal, release ERP2005 ECC6.

    Hello, I need to implement TIME (Leave request) on ESS/MSS with the SAP Portal, release ERP2005 ECC6. Any informations about the customizing for a proof of concept would be appreciated. All the back-end (R/3) as allready been customized. Thanks for y

  • USB BARCODE READER

    I'd like to use a macbook as POS station. For this I've try a datalogic usb barcode reader wich emulate a simple hid keyboard. It works on windows and linux without specific drivers. Leopard ask me a driver matching this device which of course I don'

  • I have windows 8 and I am unable to get itunes to install

    It keeps saying that it needs to run apple advisor before opening itunes and that i need to uninstall it and reinstall itunes again.