See my code that i use for user login but my code not give me result

sir i use oracle with vwp in netbeans 6.1
i want creat a user login form
i drop three textfield and one button
in button i use this code for finding the user in database but this code not me result that go to catch (Exception e) all field in database is string
public String button1_action() {
try {
RowKey userRowKey = luserDataProvider.findFirst
(new String[] { "luser.username", "luser.pwd" },
new Object[] { textField1.getText(), textField2.getText() });
if (userRowKey == null) {
textField3.setText("fahim");
error("Invalid user id or password");
return "case1";
} else {
textField3.setText("aamir");
return "cust";
catch (Exception e) {
log("Cannot perform login for userid " + textField3.getText(), e);
error("Cannot perform login for userid " + textField3.getText() + ": " + e);
textField3.setText("NOOOO");
return null;
please give me idea how i find record from database
thank you
aamir

These are user-to-user forums, you are not talking to Apple here - so I've asked the hosts to remove your email address from your post.
The security code is the 3 or 4 digit code on your credit card, it's quite often on the back of the card on the signature strip, though on some cards it's on the front : credit card security code.

Similar Messages

  • HT201250 I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to ba

    I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to back up.

    Simple.. bridge the TC.. in the apple utility in the NAT and DHCP area.
    Plug it into the FIOS router.. you can turn off wireless in the TC if you want.. or use it.. it can work faster if you are nearby and can select 5ghz.. but up to you.

  • HT4293 I have an Apple monitor model A1316 is using for Windows computer, but I could not adjust the brightness. The monitor is not bright enough when I turned off the lights in my room.

    I have an Apple monitor model A1316 is using for Windows computer, but I could not adjust the brightness. The monitor is not bright enough when I turned off the lights in my room.

    Have you plugged the USB cable into the computer also as the brightness is controlled over USB. If this does not work, you would need the Apple Display Driver for the version of Windows that you are using. The display driver is part of BootCamp software that you may be able to find online

  • I tried to purchase an album, it said wrong zip code so i fixed that. was charged for the album but it did not download. any help?

    I hadnt updated my bank info when i moved. I finally got aroud to it and also on my itunes. I was charged for the album that did not download. Help please.

    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not all media formats are available in all countries (see: iTunes in the Cloud and iTunes Match Availability by Country - http://support.apple.com/kb/HT5085); apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this).  Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones, audiobooks), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the iTunes Store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • I have used F4IF_FIELD_VALUE_REQUEST function module.but i am not getting t

    Hi friends,
    I have 2 screen fields EQUNR & EQKTX.i have attached custom help to EQUNR.when i select value from f4 help  then i want corresponding value from search help should get populated in the EQKTX field.
    I have used F4IF_FIELD_VALUE_REQUEST function module.but i am not getting the result.
    DATA: lt_return_tab      TYPE TABLE OF ddshretval.
      DATA: lw_return_tab      TYPE ddshretval.
      DATA: lv_equnr LIKE eqkt-equnr,
            lv_eqktx LIKE eqkt-eqktx.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'EQKT'
          fieldname                 = 'EQUNR'
          searchhelp                = 'Z_EQKT'
          SHLPPARAM                 = ' '
         dynpprog                  = sy-repid
           dynpnr                    = sy-dynnr
         dynprofield               = 'GW_SCREEN-WPTXT'
          STEPL                     = 0
          VALUE                     = ' '
          MULTIPLE_CHOICE           = 'X'
          DISPLAY                   = ' '
          SUPPRESS_RECORDLIST       = ' '
          CALLBACK_PROGRAM          = ' '
          CALLBACK_FORM             = ' '
          SELECTION_SCREEN          = ' '
        IMPORTING
          USER_RESET                =
       TABLES
         return_tab                = lt_return_tab
        EXCEPTIONS
          FIELD_NOT_FOUND           = 1
          NO_HELP_FOR_FIELD         = 2
          INCONSISTENT_HELP         = 3
          NO_VALUES_FOUND           = 4
          OTHERS                    = 5
      IF sy-subrc = 0.
        READ TABLE lt_return_tab INTO lw_return_tab INDEX 1.
        IF sy-subrc = 0.
         MOVE lw_return_tab-fieldval TO lv_equnr.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = lw_return_tab-fieldval
            IMPORTING
              output = lv_equnr.
          SELECT SINGLE eqktx
            INTO lv_eqktx
            FROM eqkt
            WHERE equnr = lv_equnr AND
                  spras = sy-langu.
          IF sy-subrc = 0.
            gw_screen-wptxt = lv_eqktx.
            gw_screen-equnr = lv_equnr.
          ENDIF.
        ENDIF.
      ENDIF.
    Please provide the solution.

    I have written the same code as you said but still its not giving me the equnr value.
    DATA :  lt_dynpread1        TYPE STANDARD TABLE OF dynpread,
              lt_dynpread11       TYPE STANDARD TABLE OF dynpread,
              lw_dynpread1        LIKE LINE  OF lt_dynpread1,
              lw_dynpread11       LIKE LINE  OF lt_dynpread11,
              lt_return_tab1      TYPE TABLE OF ddshretval,
              lw_return_tab1      TYPE ddshretval,
              lv_equnr1           LIKE eqkt-equnr,
              lv_eqktx1           LIKE eqkt-eqktx,
             lt_eqkt            TYPE STANDARD TABLE OF eqkt,
              li_dselc       TYPE STANDARD TABLE OF dselc,
               lwa_dselc      TYPE dselc.
      TYPES: BEGIN OF lty_eqkt,
            equnr TYPE eqkt-equnr,
            eqktx TYPE eqkt-eqktx,
            END OF lty_eqkt.
      DATA: lt_eqkt TYPE TABLE OF lty_eqkt,
            li_dynpread    TYPE STANDARD TABLE OF dynpread,
            lwa_dynpread   TYPE dynpread.
      DATA:
            lg_condition    TYPE string.
      TYPES: BEGIN OF lty_eqktx,
               sign(1)   TYPE c,
               option(2) TYPE c,
               low       TYPE eqkt-eqktx,
               high      TYPE eqkt-eqktx,
              END OF lty_eqktx.
      DATA: lt_eqktx TYPE STANDARD TABLE OF lty_eqktx.
      DATA:lw_eqktx TYPE lty_eqktx.
      lwa_dynpread-fieldname = 'GW_SCREEN-WPTXT'.
      APPEND lwa_dynpread TO li_dynpread.
      CLEAR lwa_dynpread.
    Read Screen Field Values.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = li_dynpread.
    Read the first record as only one record will be present
      READ TABLE li_dynpread INTO lwa_dynpread INDEX 1.
      gw_screen-wptxt = lwa_dynpread-fieldvalue.
      CLEAR lw_eqktx.
      lw_eqktx-sign = 'I'.
      lw_eqktx-option = 'CP'.
      lw_eqktx-low = gw_screen-wptxt.
      APPEND lw_eqktx TO lt_eqktx.
      CLEAR lw_eqktx.
      IF gw_screen-wptxt IS INITIAL.
        SELECT equnr eqktx
             INTO TABLE lt_eqkt
             FROM eqkt.
      ELSE.
       MOVE 'EQKTX CP GW_SCREEN-WPTXT' TO lg_condition.
    *lg_condition = GW_SCREEN-WPTXT.
        SELECT  equnr eqktx
             INTO TABLE lt_eqkt
             FROM eqkt
          WHERE eqktx IN lt_eqktx.
      ENDIF.
      lwa_dselc-fldname = 'F0002'.
      lwa_dselc-dyfldname = 'GW_SCREEN-WPTXT'.
      APPEND lwa_dselc TO li_dselc.
      CLEAR lwa_dselc.
      lwa_dselc-fldname = 'F0003'.
      lwa_dselc-dyfldname = 'GW_SCREEN-EQUNR'.
      APPEND lwa_dselc TO li_dselc.
      CLEAR lwa_dselc.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          retfield               = 'GW_SCREEN-WPTXT'
      PVALKEY                = ' '
          dynpprog          = sy-repid
          dynpnr            = sy-dynnr
          dynprofield            = 'GW_SCREEN-WPTXT'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
          value_org              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        TABLES
          value_tab              = lt_eqkt
      FIELD_TAB              =
          return_tab             = lt_return_tab1
          dynpfld_mapping        = li_dselc
    EXCEPTIONS
       parameter_error        = 1
       no_values_found        = 2
       OTHERS                 = 3

  • I have iTunes installed on a laptop that I use for work, but it's owned by my employer.  A new policy my have them deleting iTunes from the machine.  If that happens, will I lose all my music?  I am an iCloud user and pay for iTunes match.

    I have iTunes installed on a laptop that I use for work, but it's owned by my employer.  A new policy my have them deleting iTunes from the machine. If that happens, will I lose all my music?  I am an iCloud user and pay for iTunes match.

    If they just delete iTunes, the music files should still be there. I suggest making a backup of them though. Locate your iTunes folder (The one that contains your library file) and just copy the whole thing to your Documents folder or wherever you like (Just not in the same directory of the original folder otherwise the computer will get confused and could confuse your iTunes library). Then you will have a backup of all your music, plus if you purchased it from iTunes, you will still have it linked to your Apple ID so you can re-download them to any computer with iTunes on it when you feel like it.

  • I had a suscription that is over .Now I have a promotional code (for new suscription) but I don not know where introduce it ( I use PC)

    I had a suscription that is over .Now I have a promotional code (for new suscription) but I don not know where introduce it ( I use PC)

    Moving this discussion to the Adobe Creative Cloud forum.

  • How to find out FICO user exits that are used by User

    How to find out the FICO user exits that are used by user.

    Go to tcode CMOD. In the project field drop down your list there. Put a Z* there and run the list. These should be all the exits that are activated. Search for the ones that pertain to FI. You can also search by development class. You need a little ABAP knowledge to search easily. You get this by going to the tcode then to status then to the program then to the attributes. There you find the development class. Ie FBAS.
    pls assign points if helpful as a way to say thanks.

  • See my code that no me error after complied but not give me pdf result and

    hi master
    sir i use this code for create the pdf
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(PREFIX);
    try {
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    JasperPrint jasperPrint = null;
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex ); }
    sir this code not give any error but also not create /display the pdf
    i try to find the where problem occurred i get textfiled and send some value after one by one line
    like is this
    first time try
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    textField2.setValue(PREFIX);
    is given me right result and show /WEB-INF/reports/mfa.jasper in textfield2
    second time
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
              textField2.setValue(PREFIX);
    when i press button second time this time page not give me result in textfield2 and show blank it means
    only this line have error but what i could not foud out jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    use see my code and give me idea or solution of my problem
    thank�s
    aamir

    I found and easier way to do it and wrote it up here: http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

  • HT5988 I downloaded Mavericks and now my WD Smartware that I use for Time Machine is no longer compatible with this OSX version?  How do I make that unit compatible?  olefromca

    I downloaded Mavericks and now my WD Smartware that I use for Time Machine is no longer compatible with this OSX version?  How do I make that unit compatible?  olefromca

    I agree entirely, been messing with this since the upgrade to Mavericks but I didn't find it quite as easy as uninstalling the WD smartware as it still operates when you plug the drive back in - I think it gets loaded onto the drive and runs from within (?). The advice from WD was that time machine was faulty and I should contact Apple...thanks guys!
    Anyway, for the OP's benefit, this is what I found:
    1. My problem was that time machine couldn't see any further back than before the Mavericks install, but if I opened up and interrogated the WD drive, the old backups were still there.
    2. When TM started doing new backups, it overwrote the ones that it could see, not the oldest ones on the drive. This indicated to
    me that the WD software had somehow partitioned off the old backups and excluded that part of the drive from being overwritten. Of course, as the drive was practically full, it meant that any new backups wouldn't fit in the available space.....
    3. The only way I could find to resolve this was to use the disc utility to erase and repartition the external drive. This will obviously remove all of the old files and backups, but I was more concerned about keeping a current profile as backup rather than a load of stuff from months ago.
    4. Anyway, what happens after the eraseure has completed is that you get the WD icon on the desktop, and you're invited to install the software - this means the software has now been deleted. Juts don't reinstall it, just let TM do it's backup and all is well.
    Usual disclaimers and warnings about keeping another copy of your system etc. obviously apply, and I know this is a radical move to delete all your old data but it worked for me. I guess I didn't appreciate that you could use the external drive without the software that came with it and just followed the screen guide.
    I'm also aware that if you don't want to use TM to do a complete restore and only want to find one old version of a document, this is difficult. However, you can then install the WD software and find the file but you'll then have to do this all again.....

  • HT201412 My ipjone keeps coming up with a message say that the cable or accessory urged in is not a reliable source for this iPhone but I do not have Nything plugged in to my iPhone. I Put it in a bowl of rice for 2 hours to see if that would help it but

    My ipjone keeps coming up with a message say that the cable or accessory urged in is not a reliable source for this iPhone but I do not have Nything plugged in to my iPhone. I Put it in a bowl of rice for 2 hours to see if that would help it but it hasn't. Is there anything thank can do???

    Clean the connector on the bottom of the phone. Use a magnifying glass, bright light, and a wood or plastic toothpick. If you got the phone wet put it in a bag of uncooked rice for several days, not hours.

  • I have a very old G$ that I use for ProTools. I just bought a slightly newer G4 and I want to find out if it is possible to transfer my old OS 10.2.8 system from one computer to the other so I can run my old ProTools system without a hitch. Thanks!

    I have a very old G4 that I use for ProTools. I just bought a slightly newer G4 and I want to find out if it is possible to transfer my old OS 10.2.8 system from one computer to the other so I can run my old ProTools system without a hitch. I would rather not buy the old 10.2.8 system as it is expensive. Thanks!

    Need to know which newer one, some cannot run 10.2.x.
    One solution might be to clone the 10.2.8 Drive to another drive, then Install a later OS on it Preserving Users & Settings.
    Best way to get an exact bootable copy of your old drive to the new one is with Carbon Copy Cloner...
    http://www.bombich.com/software/ccc.html
    Relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Please Help!   I've got a WRT54GX2 that I used for 2 year...

    Please Help!
    I've got a WRT54GX2 that I used for 2 years with no problems.
    I recently tried to set up network with different IP DSL (Bellsouth).
    The problem is the computer can not "locate" wireless router. Is this due to the Westell modem not being "bridged".   

    ***Note: Make sure that the modem is Bridged and the router is set-up to the Instructions I first gave you. If you still have the issue then follow the below steps. At this point you should find out what is your,
    IP Address =
    Default Gateway =
    Subnet mask =
    and provide us with that information.
    You can get this info by clicking on Start>>Run>>type "cmd">>click ok, now a black command prompt box will open, type in ipconfig /all
    You should see an IP address and default gateway of 192.168.x.xxx
    you should see a subnet mask of 255.255.255.0
    At this time you should power cycle your router and then the modem by removing the power cable from the router, then remove the power cable from the modem. Wait about 60 seconds and plug in the modem and them plug in your router. wait till all the lights on the modem and router are back on. try to connect.
    If it still does not work and the IP address is not what I stated, then you will need to reset the modem by holding in the reset button on back of the router for 30 seconds, this will bring the router back to the factory defaults and will remove any prior settings.
    Good Luck,
    Ttech
    Message Edited by Ttech on 06-30-2008 05:38 AM

  • When I try to download a app even for free it says my security code is wrong on my credit card but it is not wrong why is it doing that?

    When I try to download a app even for free it says my security code is wrong on my credit card but it is not wrong why is it doing that?

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Can I use the harddisk that I used for Time Machine on my previous computer on my new computer without deleting the old back-ups?

    Can I use the harddisk that I used for Time Machine on my previous computer on my new computer without deleting the old back-ups?

    Yes.  See:
    http://pondini.org/TM/4.html
    My only concern is that you may not have enough free space on the drive.

Maybe you are looking for

  • Unable to type in UAC prompt during desktop share

    While in desktop sharing mode and having control of the user's system we are unable to respond to any UAC prompts that might come up during troubleshooting. I can click in the box, but cannot type.This is happening for all of our support staff when u

  • How can I wipe my hard drive and restore to factory settings without the use of the original OS CD?

    I have a 2010 MacBook and I need to wipe the hard drive and restore to factory settings. The problem is that even though I have the original disc, the CD drive has stopped functioning and will reject any disc put into it. Therefore, is there another

  • Help! How to pull data from a database into form

    I have information store in a database and I need to import(place) it onto a form.  The form already has a connection to the database, I just don't know how to update the information on the form with the information that is stored in the database.  C

  • About MIRO - IV issue

    I use MIRO to enter incoming invoice, but after save, some error shown that "No taxes on sales/purch.are allowed for account...". Then I simulate the posting, becuase the invoice has different, so I found that the different will be posted to another

  • Create IVIEW for BW Index

    Hello, So far I have made a Index for a data source to look for documents, and within BW I have created a Business Object, added a search class an created and Index to allo TREX to look for that information. Is it possible for the EP to look for inde