Can you see this below code and explan me how it is executed

if (!user.authenticate (username,password))
               error = true;
               errMsg = "<li>Username or password is invalid.</li>";
errMsg = errMsg+"some test";               session.setAttribute("error",errMsg);
response.sendRedirect("login123456.jsp?username="+username);
aUser = UserLock.getUsernoLocked(usr);
String lock =""+aUser.get("LOCKED");
int locked=Integer.parseInt(lock);
     if (locked!=0)
errMsg ="<li>Your user account has been locked </li>
          } else {......>if user is authorised cursor goes here---------
at what condtion the staments after response.sendRedirect("....") is executing.....
any possiblites......is there that code is executing...
can u please tell me...

at what condtion the staments after
response.sendRedirect("....") is executing.....As soon as the call to sendRedirect() returns.
any possiblites......is there that code is
executing...Of course it will execute. But the real question is, why is it there anyway? When you call sendRedirect(), you tell the client to create a new request for some other servlet or JSP. What's the point of continuing to process the current request?
Or to put it another way, why do you have code in a place where you (mistakenly) don't expect it to run?

Similar Messages

  • My iPad with this security code and forgot it,how can I get him ?  Is that 4 digit code

    my iPad with this security code and forgot it,how can I get him ?  Is that 4 digit code.

    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • Can you see this?

    Ok so I can see most fonts just fine in flash, however take a look at any myspace page w/ a song in the profile this one for example. Now Can you see the name of the song because I cannot. I saw it after I first installed some fonts on my system, but now all I see is a dot. What font is this, and how can I get it to display correctly?

    Ok found a couple of related threads http://bbs.archlinux.org/viewtopic.php?t=24331 apparently bitmap fonts are dissabled by default.
    http://bbs.archlinux.org/viewtopic.php?t=23564 This one may be outdated I'm not sure. Song titles are still invisible to me though.

  • Can You See This Space?

    Hi --
    On this page in IE:
    http://catenion.thelegatogroup.com/index.shtml
    there's
    a space at the bottom of the left hand column just below the
    image. It's
    not there in FF. My client says he can't see it, but I can.
    Can you?
    John

    Thanks, Mike. I'll give that a try. What's odd is that the
    space wasn't
    there one day and the next it appeared.
    John
    "MikeL7" <[email protected]> wrote in
    message
    news:fjla6n$2he$[email protected]..
    >I can see it in IE7, and IE6 but not FF or Opera, i
    looked at your style
    >sheet
    > and couldn't find a reason for the apparent bottom
    margin or padding,
    > might be
    > a IE bug try a IF for your style sheet
    > <! [if lte IE 7]>
    > <style type="text/css" media="all">
    > @import "contentwrap_left-ie.css";
    > </style>
    > and then try some different IE hacks like making the div
    have a negative
    > margin or something else.
    >

  • Can you see this video?

    Hi,
    Trying to convert my wife to an Arch user.  She doesn't have much of a chance :-),  but she usually enjoys finding media on the web which does not seem to be managed with mplayer.  Most times, it ends up being something to do with Java scrips which I typically have disabled.
    Here's one that has me scratching my head:
    http://www.vet.upenn.edu/newsandevents/ … ip8-14.htm
    Can anyone get this up with the embedded mplayer?  If so, what's your magic?
    Hope you all find this a pleasant diversion!  BTW, here's hoping that Barbaro makes a full recovery.

    Firefox doesn't know what to do with these types of streams. Do this:
    Type about:config in the URL bar
    Right click in the main window and select new, then String
    Enter network.protocol-handler.app.rtsp
    Hit OK
    Then you need to associate it with something that plays RealPlayer files.
    For more information, just search for 'linux firefox rtsp' in Google.

  • Can you see this gap?

    I am not sure, but I think I might have this gap on a pc in
    my page. The
    gap is at the top, about 1px, between the bottom of the logo
    and the
    navigation and right through the star next to it (there you
    would be
    able to actually see it).
    http://www.agilitygraphics.com/clients/cs/pages/history.html
    I don't have it on my mac, but when I check this page at
    Kinko's it
    looked like it had a gap there? (Their monitors are horrible,
    so maybe I
    am wrong?).
    If you can see it let me know and if you know why I am having
    it there,
    that would be fantastic!
    Thanks a lot!
    Brian

    I can see the gap in Internet Explorer on Windows XP - it
    does not show the
    gap in Firefox, though.
    Try adding to your images:
    <img ... style="display: block">
    Or if you can create a class in your CSS and apply it to the
    image.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Brian" <[email protected]> wrote in message
    news:ec4oat$jtb$[email protected]..
    >I am not sure, but I think I might have this gap on a pc
    in my page. The
    >gap is at the top, about 1px, between the bottom of the
    logo and the
    >navigation and right through the star next to it (there
    you would be able
    >to actually see it).
    >
    http://www.agilitygraphics.com/clients/cs/pages/history.html
    >
    > I don't have it on my mac, but when I check this page at
    Kinko's it looked
    > like it had a gap there? (Their monitors are horrible,
    so maybe I am
    > wrong?).
    >
    > If you can see it let me know and if you know why I am
    having it there,
    > that would be fantastic!
    >
    > Thanks a lot!
    > Brian

  • Can you look at my code and give me any idea why the pie garph doesnt show?

    Hi..
    i use beans to create an pie graph and i dont know how i can add data to it,i mean what data must be pass to it.. as u know in column and line graph there is an x-axis and y-axis and in pie there no x or y axis..i need 2 categories and one value to put on it.
    and the code is :
    CURSOR C_DETAIL IS
    SELECT REF_TYPE ,
    REF_YEAR ,
    REF_NUM ,
    ACT_DATE ,
    UNREL_PROF_LOSS , ----------------->(value)
    TO_CHAR(ACT_DATE , 'DD/ MM/ YYYY') ,----------->(Category1)
    LPAD(TO_CHAR(REF_TYPE),2,'0')||'/'||
    LPAD(TO_CHAR(REF_YEAR),2,'0')||'/'||
    LPAD(TO_CHAR(REF_NUM),6,'0') "DEAL_NUM"--------->(Category2)
    FROM BOND_ACT
    WHERE ISSUE_NUM = :KEY.ISSUE_NUM AND
    ISSUE_NUM_ABB = :KEY.ISSUE_NUM_ABB AND
    ISSUER_ID = TO_NUMBER(:KEY.ISSUER_ID ) AND
    ACT_DATE >= TO_DATE(:KEY.FROM_DATE,'J') AND
    ACT_DATE <= TO_DATE(:KEY.TO_DATE,'J') AND
    ACT_TYPE = 6
    ORDER BY REF_TYPE , REF_YEAR , REF_NUM , ACT_DATE;
    BEGIN
    set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'CLEAR_GRAPH','');
    SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'DEBUG','TRUE');
    VD := ',';
    COUNTER := 0;
    OPEN C_DETAIL;
    FETCH C_DETAIL INTO var1,var2,var3,var4,value,Category1,Category2;
    while (C_DETAIL%FOUND) LOOP
    CDATA := X||VD||'PIE GRAPH'||VD||X;                    
    set_custom_property ('CHART_DISP.SIMPLEGRAPH',1,'ADD_ROWDATA',CDATA);
    COUNTER := COUNTER +1;
    FETCH C_DETAIL INTO var1,var2,var3,var4,value,Category1,Category2;
                   END LOOP;
                             SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'GRAPHTYPE','PIE_GRAPH');
                             SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'COLUMNCOUNT','');
    set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'ADD_DATA_TO_GRAPH','');
    CLOSE C_DETAIL;
    set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'SHOW_GRAPH','');
    EXCEPTION
         WHEN OTHERS THEN
         MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
         MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
    end;

    Hi,
    please see the html help file (graph90.html) that comes with the Graph bean sample. The debug option is enabled with a call to set_custom_poperty('blockname.beanarea',1,'DEBUG', true)
    The messages are written to teh JInitiator console (see right bottom corner of windows to open)
    Frank

  • My phone says disabled connect to itunes.  I can only see this notice page and an emergency keypad.  How do I fix this?

    I can't get into my 5c to make a call.   I have 2 screens that are visible.  One says 'iPhone disabled, connect to itunes' , and the other is an emergency keypad.  How do I fix this problem?   I get an occasional call, usually from farther away than most.   I hear the chime for messages coming in, but can't access them.

    http://support.apple.com/kb/HT1808

  • I am using systec usbmodule1 to send and receive CAN messages , is any one have tried this in labview?, if yes can you send me the code thanks

    i am using systec usbmodule1 to send and receive CAN messages , is any one have tried this in labview?, if yes can you send me the code
    thanks
    Solved!
    Go to Solution.

    Hey,
     All of our CAN drivers have been written for National Instruments' CAN hardware (referenced here : http://digital.ni.com/public.nsf/allkb/E2C6ED025C7​98C5586256F4E00520448 ). Thus, you will have to code all your communication manually, unless Systec provides a LabVIEW driver. There might be various dll files that Systec provides for communication, which you will be able to access through LabVIEW. Take a look at the Call Library Function Node, which can be found from the Functions Palette under Connectivity -> Libraries & Executables. Here you can call a dll file, and also the individual functions within that dll.
    I would suggest posting your question either to the LabVIEW forum, as previously mentioned, or to the CAN forum found here : http://forums.ni.com/ni/board?board.id=30
    Justin E
    National Instruments R&D

  • HT204406 what if i do not want artwork for any song?  they take too long to upload and I personally don't care to retain or see the "artwork".  Can you diable this in itunes match?

    what if i do not want artwork for any song?  they take too long to upload and I personally don't care to retain or see the "artwork".  Can you diable this in itunes match?

    Agreed. I hope they allow this some time soon or iTunes Match will remain a big disappointment for me.

  • I don't know why my code isn't working, Can you see what is wrong?

    I'm putting together a program that reads input from a text file and then decides what type of input it is (male or female) and then calculates the final sum for both.
    m=male and f=female. The numbers after the letter are GPAs. Here is the input file:
    m 2.4
    f 3.2
    m 3.7
    m 4.0
    f 2.9
    f 1.8
    f 3.8
    m 1.7
    m 3.4
    f 2.6
    m 2.8
    m 1.7
    f 3.7
    m 3.9
    f 4.0
    f 3.6
    m 2.3
    f 2.9
    m 3.0
    m 2.7now here is my code:
    import java.io.*;
    import java.util.*;
    public class gradecalc {
         * @param args the command line arguments
        public static void main(String[] args)
                                throws FileNotFoundException{
            // TODO code application logic here
    double sumMale=0;
    int numMale=0;
    double sumFemale=0;
    int numFemale=0;
    char gender;
    double gpa;
         Scanner inFile= new Scanner(new FileReader("gpa.txt"));
            PrintWriter outFile= new PrintWriter("gpaResult.txt");
    while (inFile.hasNext())
        gender= inFile.next().charAt(0);
        gpa= inFile.nextDouble();
        switch (gender)
            case 'M':
            case 'm':
                sumMale= sumMale + gpa;
                numMale++;
                break;
            case 'F':
            case 'f':
                sumFemale= sumFemale + gpa;
                numFemale++;
                break;
            default:
                System.out.println("Invalid gender code: "+gender);
    outFile.print("Sum of male students GPAs: " + sumMale);
    outFile.print("Sum of female students GPAs: " + sumFemale);
    outFile.close();
    }and this is the error message I get when I build and then try to run the program:
    init:
    deps-jar:
    compile:
    run:
    Exception in thread "main" java.util.NoSuchElementException
            at java.util.Scanner.throwFor(Scanner.java:838)
            at java.util.Scanner.next(Scanner.java:1461)
            at java.util.Scanner.nextDouble(Scanner.java:2387)
            at gradecalc.main(gradecalc.java:32)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)I feel like I have the code right, yet it doesn't output anything to my file and gives me the above exception. What's the problem here??

    I actually figured it out. I think some of you programmers out there would be proud of me if you saw this completed code. This forum has really helped me out, but I still make some stupid mistakes. Like the one I realized I made on this program seconds after I made this pose. I realized that I had an unknown character at the end of my input document, which you can't see in my post because I must have not copied and pasted that part. I would delete this post, but don't know how.

  • Now fcpx don's start empty. It stops and you see this, no more action did my mac

    Now fcpx don's start empty. It stops and you see this, no more action did my mac
    I can't open projects, FCPX didn't find my photo's and didn't find the links to the stuff of fxfactory.
    I removed fcpx and installed it again after closing my mac.
    I renamed fcpprojects and events. FCPX starts empty without photo's and links to fxfactory.
    Very disappointed because it cost my hours and fcpx doesn't work yet. 
    Greetings
    Ton

    Russ
    Thank you for your quick and good response
    I was a little disappointed that I was referred to an apple store while I had just arranged everything over the internet
    Trash FCP doesn't work. than i go to Library etc. That doesn't work.
    I made a new user account and FCP works.
    FCPX is working again on this new account.
    I see all effects, transitions, titles and generators.
    The only downside is that I have to set everything again. FxFactory. Iphoto etc.
    How is it possible that I can set up a new account FCPX and not on my own account. Is there an explanation for this.
    I was helped, because I can use FCPX again on a new account. Although with some detours and some extra time and energy.
    So thanks a lot.
    I hope that you can help me that I can installed FCPX on my own account.
    Greetings
    Ton

  • HT5616 How can you see a list of devices registered to use our apple ID for FaceTime and other services?

    Sometimes I will get a notification that x device is using my apple ID for FaceTime (or other services). Sometimes it is just generic Mac Book Pro. His can I see which devices are using my ID (and can you see more details than just the name)?

    I just started getting this message too.  Just started the last couple of days.  It doesn't give a time that it was used.  All it says that "appleid" was used to sign in to facetime on Macbook.  My Macbook is not named "Macbook."  It also doesn't correlate to times when computer is being used.

  • Hi, I have a problem with my ipad, I want to restore it but I can not. When I plug the ipad (off) it is not recognized by itunes, I turn the ipad, There are apple and the apple after you see the usb cable and itunes logo for just 1 minute and turns off an

    Hi, I have a problem with my ipad, I want to restore it but I can not. When I plug the ipad (off) it is not recognized by itunes, I turn the ipad, There are apple and the apple after you see the usb cable and itunes logo for just 1 minute and turns off and is no longer recognized by itunes.
    thank you for your help.

    Hi there beni_m,
    You may find the troubleshooting steps in the articles below helpful.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    -Griff W. 

  • HT4113 Can't figure out pass code and keeps disabling?  How do I reset this?

    Can't figure out pass code and keeps disabling?  How do I reset this?

    If you can't figure it out, you'll have to force recovery mode and restore the device.
    Follow the steps in this article:
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212

Maybe you are looking for

  • Can't clean install Yosemite to 3rd party SSD in 2008 MBP

    Hi all. I'm a longtime lurker, first time poster. I seem to have really stymied myself with trying to upgrade my ol' reliable MBP. My machine: Late 2008 15" MacBook Pro 2.4Ghz Core 2 Duo 4GB RAM (3rd party Crucial, 2 matching 2GB sticks - it original

  • Connecting my 6630 via USB

    O/S - Win XP SP 2 Phone - 6630 PC Suite - 6.81.13 Hi I'm trying to connect my 6630 via USB, i've installed and re installed PC suite but even though Windows recognises my phone, and installs the drivers etc. the Get Connected dialog on PC Suite shows

  • Interesting Feature/Bug?

    Try this: Play a song in iPod, and if you have a Internet connection, hit that as well. In the top right corner, you'll see a small blue play button. Scroll down the page a bit, then hit that button. It does nothing in iPod, but zings you back to the

  • Auto-brightness Won't Turn off after Win 8.1 update

    I have a Y510P, and I got the Win 8.1 update about a month ago. Since then, my screen auto-dims whenever the average color of the screen is darker than plain white. So every time I am on a website that has a picture (like Facebook), as soon as I scro

  • How to create BD disks from iMovie ?

    How i can create Blu Ray movies from iMovie output files ?