Jsp Login problem

i am using jsp for a login functionality.
in which i am accepting username and password from user.
but if user press back button after loging in the first page is displayed
it should not be .
i require in pure java. i also even tried for the sessions
please provide a solution for me

Implement a Filter. You can search around using the keyword "LoginFilter" or "UserFilter" to find examples.

Similar Messages

  • Servlet Jsp Login Problen

    Consider 4 pages
    default.jsp          -          Default page     -     Provides link to update.jsp
    Update.jsp          -          Update Page          -     User came through default page
    login.jsp          -          Displays html      -     Two Input tags user & pass
    check Servlet     -          Authentication     -     Validates userid & pwd from database
    what I want to do ?
    1     User clicks on update link on default page
    2     update checks for session as
              String user = (String) session.getAttribute("user");
              if( user == null )                    
                   response.sendRedirect("/login.jsp");
    3     Now login.jsp displays the HTML form with action = /servlet/check          
    4     check servlet revceives values user & pass from HTML response & validates through
         database
    5     Now if validation succedes it must redirect to the actual page that user had
         requested for ultimately i.e update.jsp
    6 HOW MANY WAYS I CAN DO THIS
    7      Problem becomes more serious when along with login & check other intermediate
         servlets are also there.
    8     The final problem is
         1     Update.jsp receives request data from some HTML form but checks for user
              from session object.
         2     If found null redirect to login page
         3     The above prob. now repeats but the point is after authentication
              the check servlet not only redirects to the actual requested page but
              also supplies the data that update.jsp has received
    Please reply soon

    Thanx Sir!
    But i want to have a more generic solution
    like using <jsp:fordward> & <jsp:param> etc
    but i want it so generic that it can be done in ASP/ JSP
    preferably without using queryString
    And the main point is this problen
    request.setAttribute() is not working
    I am uploading the code
    CODE:
    default.jsp     Update
    update.jsp     String user = (String) session.getAttribute("user");
              if( user == null )     {
                   String look_for = request.getRequestURI();
                   request.setAttribute("look_for",look_for);
                   response.sendRedirect("/login.jsp");
    login.jsp     String req = null;
              req = (String)request.getAttribute("req");
              //out.print(req); --> Error Printing null
              request.setAttribute("req", req);
              <form----
              >
              response.sendRidirect("/servlet/check");
    check     
         String user = null;
    String look_for = (String)request.getAttribute("req");
    if(look_for == null)     {
              request.setAttribute("req", look_for);
         response.sendRedirect(request.getHeader("HTTP_REFERER"));
    if(user != "Hemant") {
    request.setAttribute("req",look_for);
    response.sendRedirect("/login.jsp");
    HttpSession session = request.getSession();
    session.setAttribute("user","Hemant");
    response.sendRedirect(look_for);
    out.close();     

  • AOL email Login problem The requested resource (webmail/_cqr/LoginSuccess.apspx) is not available

    AOL email Login problem on Ipad 4, error message reads:
    The requested resource (webmail/_cqr/LoginSuccess.apspx) is not available.
    Apache Tomcat/7.2.27
    If I remove AOL app than re-add it. sometimes I get a day or so before the error message returns.
    My Aol email is accessable from my Iphone OK.
    Seaches for this error solution have been fuitless.
    Does anybody have any ideas?
    VOGO

    Add this statement to struts-config.xml
    <forward
    name="success2" path="/loginSuccess2.jsp"/>
    Before trying on tiles, you can add this statement in the method for handling the form in the class LoginAction
    return mapping.findForward("success2");

  • Jsp login form code

    hi all
    i am a student and new to jsp
    imy problem is that i want to create a login form and have a page that validates the username and password ... i have tried this but i am gettin errors with my sql line . can any1 help me out
    i have pasted the sql line below
    ResultSet rs = stmt.executeQuery("SELECT username,password FROM myusers WHERE username='"+request.getParameter("username_signin") + "' AND password=PASSWORD('"+request.getParameter("password_signin")+"')");
    thanks

    hi i also have similar problem to avoid the ' or1=1 that simple hacking code.
    i try to use ur method but i nt too sure abt the prepare statement , pls help thanks.
    <%@page contentType="text/html"%>
    <%@page import="java.sql.*"%>
    <html>
    <head>
    <title>Check Login</title>
    </head>
    <body>
    <%
    //String varName=request.getParameter("userName");
    //String varPass=request.getParameter("userPass");
    String DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
    Connection con = null;
    String nextPage = null;
    try {
         // set up the DSNless connection to the EJewel.mdb database
         String source = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; DBQ=C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\ROOT\\assess20\\assess.mdb";
         // Open a Database connection with the Driver
         Class.forName(DRIVER);
         con = DriverManager.getConnection(source);
    // Create sql string to check whether userName is found in database
         //String sql = "Select * from Customers where userName='" + varName + "' and userPass='" + varPass + "'";
         PreparedStatement stmt = con.prepareStatement("SELECT * from Customers WHERE username= 1 AND password='2");
    stmt.setString(1, request.getParameter("userName"));
    stmt.setString(2, request.getParameter("userPass"));
         // Create statement to connect to Connection
         Statement stmt=con.createStatement();
         // Execute result set on sql string
         ResultSet rs=stmt.executeQuery(PreparedStatement);
         String userPass = "foobar";
    MessageDigest mdAlgorithm = MessageDigest.getInstance("MD5");
    mdAlgorithm.update(userPass.getBytes());
    byte[] digest = mdAlgorithm.digest();
    StringBuffer hexString = new StringBuffer();
    for (int i = 0; i < digest.length; i++) {
    userPass = Integer.toHexString(0xFF & digest);
    if (userPass.length() < 2) {
    userPass = "0" + userPass;
    hexString.append(userPass);
    // We now have a unique MD5 Hash of original input
    out.print(hexString.toString());
              if (rs.next())
              out.print("Exist");
              session.setAttribute("loginStatus", "login");
              session.setAttribute("userName", varName);
    session.setAttribute("userPass", varPass);
    nextPage="ShowMain.jsp";     
              else
              //out.print("Does not exist");
              nextPage="Showlogin.htm";
         // close the resultset and statement     
    rs.close();
    rs = null;
    stmt.close();
    stmt = null;
         } // end try
         // catch for 3 exceptions
         catch (ClassNotFoundException cnfe) {
    out.println ("Could not create driver " + cnfe.getMessage ()) ;
         catch (SQLException sqle) {
    out.println ("Could not connect to database " + sqle.getMessage ()) ;
         catch (Exception excpt) {
    out.println ("Could not connect to database, general error " + excpt.getMessage ()) ;
    } // end all catch
         // finally to close connection
    finally {
    if (con != null) {
    con.close();
    } // end finally
    %>
    <jsp:forward page="<%=nextPage%>"/>
    </body>
    </html>

  • How to handle WebIntelligence Login Problems?-Troubleshooting Guide needed.

    Hello experts,
    We are using Business Objects XI 3.0 running on Windows Server 2003 Enterprise X64 Edition with Service Pack 2 and
    Microsoft SQL Server 2005 Standard Edition (64-bit). We are using Windows Active Directory Authentication (Kerberos SSO)
    and sometimes can't login to (java) InfoView using the http://<serveraddress>/InfoViewApp/logon.jsp and got either
    the message "Unable to logon to infoview ,Please contact your system administator for assistance.Please close your browser before continuing",
    or do not get any message and the browser window shows an empty login frame where the User name,Password and Authentication
    are not displayed. (The login window doesn't give any idea what the problem is all about..)
    In such cases, I try to login using the Web Intelligence Rich Client using the same username&password, and don't experience any problems.
    Searching in Windows Event Viewer, can't find any hint. As my final attempt, I re-start the Server Intelligence Agent and Apache Tomcat,
    if it still doesn't help, I re-start the operating system and hope the login problem gets solved..
    Does anyone have trustful troubleshooting steps or better an official troubleshooting document (couldn't find any)?
    Best regards;
    Ozcan.

    Hi Bashir and wavery,
    Thanks for your replies. Do you know where to download the update / packs ? I tried to find them under SAP Support Portal -> Downloads -> Business Objects Downloads, but couldn't find any matching item.
    Regards;
    Ozcan.

  • Application Server - Admin Console Login Problem

    Hi,
    I have installed J2EE 1.4 (Sun Java Application Server Platform Edition 8) on Windows 2000.
    Installation was successful and the app server is getting started too.
    When i am going to http://localhost:4848/asadmin (Admin Console) and enter user/password to login ..
    It complains:
    HTTP Status 400 - Invalid direct reference to form login page
    type Status report
    message Invalid direct reference to form login page
    description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
    I could not find much on this in the troubleshooting guide or other documents too.
    Did anyone else face this issue and if you know the reason/workaround, Pls suggest.
    Thanks in Advance.
    Anwar

    Hey anwarak, I am having the exact problem again as well. I had this same issue on the previous release of j2ee and for a short time I had it working. I lost that functionality when I lost my disk drive to a (s.m.a.r.t.) type of error. I am now in the rebuilding system phase and thought the issue might be resolved in this release. My initial resolution that was suggested here was to turn off my firewall.
    I am running Win-XP SP1 and I also have Norton2002 and ZoneAlarm Pro 4.5.538.001 on my system. I have attempted to allow ZoneAlarm to ease restrictions for cookies and ad blockers, just in case but to no avail! I found the following log at C:\Sun\AppServer\domains\domain1\logs\access on my system:
    127.0.0.1 - - [01/Apr/2004:20:49:19 -0600] "GET /asadmin/index.html HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:19 -0600] "GET /asadmin/admingui/TopFrameset HTTP/1.1" 200 533
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /com_sun_web_ui/css/css_ns6up.css HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /asadmin/jsp/login.jsp HTTP/1.1" 200 6862
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /com_sun_web_ui/images/other/dot.gif HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /com_sun_web_ui/images/login/login_background.jpg HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /asadmin/images/productname.gif HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:20 -0600] "GET /com_sun_web_ui/images/login/login_sun_logo.gif HTTP/1.1" 304 -
    127.0.0.1 - - [01/Apr/2004:20:49:30 -0600] "POST /asadmin/jsp/j_security_check HTTP/1.1" 400 1099
    The post line is the most curious one of all! I am not sure what the result codes are, or where to find a definition of them. I am still digging for that.
    I am also looking for the answer!

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • Oracle 10g express edition browser login problem

    Hi
    I installed oracle 10g express edition and after installing successfully logged in browser , unlocked hr login and also created one form then I shutdown the database and rebooted my pc and since then when I try to login to "go to Database Home page" after starting database , I get a cookie 127.0.0.1 with username and password, First of all I am not sure what username/password it is expecting, I believe it requires my Windows XP username and password , I tried to enter couple of times my pc login username which has administrator privileges, I also checked it has ora_dba group but after entering pc username , password browser opens saying "unauthorized". I created another os user and tried with that still same. I tried entering oracle password "SYSTEM" and password for it but still could not login, I tried HR username password still nothing.
    I tried disabling firewall but still same issue. I tried to re-install two time but still same .
    Start database dos prompt does show all the process are started successfully .
    I also did ping for 127.0.0.1 and it does ping.
    I tried everything what I knew.
    Can anyone please help me ..to resolve this issue .

    Hi
    This is how I resolved the browser login problem .
    I checked the listener log
    C:\OracleXE\app\oracle\product\10.2.0\server\NETWORK\log
    And found the error
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    I have another version for oracle installed on my pc .
    I ended both the oracle process (Oracle.exe) through the Task Manager
    Then manually started “OracleServiceXe” service through Component Services
    Control Panel – Performance & Maintenance – Administrative – Component Services
    Then did following
    Programs – Oracle Database10g ExpressEdition – Start Database
    Programs – Oracle Databse10g ExpressEdition – Go to Database Homepage –
    Enter username SYSTEM
    Enter password xxxxxx … whatever given at the time of installing.
    And I did successfully login to the browser .
    Hope this will help to those of you who have run into similar problem which I faced
    Good Luck .
    A. Patil

  • Web Center app with ADF Security - login problem

    I have a custome Oracle Web Center app.
    I have a page.html with an embedded login form posting to j_security_check. I've configured the ADF security policies to redirect to a JSPX on successful login.
    When I try the correct username/password, I get redirected not to the page I defined in ADF, but to the root page http://127.0.0.1:7101/MyApp-ViewController-context-root/
    and i get
    Error 403--Forbidden
    I've checked the weblogic.xml as per http://andrejusb.blogspot.com/2009/12/solving-error-403-forbidden-in-adf.html, all the required entries are there.
    This works fine if i use a Login link with
    destination="#{'/adfAuthentication?login=true&amp;end_url=/faces/postLogin.jspx'} "
    which redirects to the default login.html and then to the right page. I've copied the form from the default login.html into my master HTML page.
    Hope my question is clear. Any suggestions why it is going to the wrong URL after login.
    Is there anything specific I should see in the jazn-data.xml or web.xml regarding the post-login URL since i cant see that in either.
    P.S. Have been advised to try here when I originally asked this in the WebCenter forum. Web Center app ADF Security - login problem
    Edited by: new_to_webcenter on 18-Jan-2011 05:25

    Thanks for your response Frank.
    The web.xml has
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/error.html</form-error-page>
    </form-login-config>
    </login-config>
    When configuring ADF Security via JDev , I chose "Redirect upon successful authentication" to the Welcome Page
    "/faces/postLogin.jspx"
    this then adds into web.xml
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>/faces/postLogin.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    So the sequence which works is:
    Login via the '/adfAuthentication?login=true&end_url=/faces/postLogin.jspx' and this redirects to login.html (OOTB form which posts to j_security_check) and then to the postLogin.jspx
    I'm trying to do away with a Login link, and trying the simple login form embedded in my page alongwith other content.
    So should the form be posting to j_security_check directly or to the adfAuthentication ?

  • IMac login problems on any 10.6 update

    I have a 24" iMac that is 2 years old. After using snow leopard on my husband's new macbook I decided to get it for my imac. The base install of 10.6 works fine but of course it immediately wants to be updated to a new release. If I update it past the base install from the CD I get login problems.
    What happens is that the desktop appears and the finder menu is at the top but the date and network status etc - everything from the top right of the menu bar is missing. The computer will not move forward. No amount of waiting or button pushing will improve the situation.
    Sometimes I could log in to another account but then it would start happening on that acocunt too. I made myself a new account and it started happening on that too. Every time if I did a re-install of the base 10.6 from the CD it went back to working fine. I would have to say no to every update of 10.6 on software update. This has been going on for 6 months. I thought maybe with 10.6.4 they fixed it but it did it again.
    yesterday I did a fresh install. Thinking it was caused by my old quicken 2007 or parallels (though its v 5) or something else that has some bit that starts at login I formatted the HD , installed 10.6 fresh and installed nothing but ilife 9. I downloaded the 10.6.4 update and it still happens. I logged off my account and logged back in to test and it froze again. I am at my wits end. The only thing I saved from my old profile was my mail folder. I can find nothing else to fix. Any ideas?

    SamNS wrote:
    the desktop appears and the finder menu is at the top but the date and network status etc - everything from the top right of the menu bar is missing.
    Do things behave better if you boot into "safe mode" by holding down a shift key while your Mac is booting?
    http://support.apple.com/kb/HT1455

  • JSP Login

    Hi ....
    I am working on JSP for oracle applications. In the login page, when the username and password is entered and 'Submit' button is pressed, the page is validated.
    However after typing username and password and 'Enter" button in keyboard is hit, no action takes place. How can I modify to have page processed for 'Enter" key.
    This is urgent.

    Hi ,
    I have attched the code. Also the link for the page is:
    http://angelic.itconvergence.net:8001/OA_HTML/ibeCAcdLogin.jsp?a=b
    This page is developed by Oracle and I am working on customizations.
    Thannks for your help in advance.
    <%@ include file="jtfincl.jsp" %>
    <!-- $Header: ibeCAcdLogin.jsp 115.31.11590.4 2003/06/10 21:46:16 sfung ship $ -->
    <!-- $Header: ibeCAcdLogin.jsp 115.31.11590.4 2003/06/10 21:46:16 sfung ship $ -->
    <%--=========================================================================
    |      Copyright (c)2000 Oracle Corporation, Redwood Shores, CA
    |                         All rights reserved.
    +===========================================================================
    |
    | FILE
    |   ibeCAcdLogin.jsp - User Login Page
    |
    | DESCRIPTION
    |   Sign On Page
    |
    | HISTORY
    |   11/11/2002  madesai IBE.O UI changes
    |   12/13/2002  madesai error msg appears after the title, prompts added with colon
    |   12/27/2002  adwu    Removed Javascript event for 2726995
    +=======================================================================--%>
    <%
    final String J = "ibeCAcdLogin.jsp";
    pageContext.setAttribute("_signInPage", "true", PageContext.REQUEST_SCOPE);  %>
    <%@ include file="ibeCZzpHeader.jsp" %>
    <%
    String username = IBEUtil.nonNull(request.getParameter("username"));
    if (username.equals("") && RequestCtx.userIsLoggedIn())
      username = RequestCtx.getUserName();
    //madesai - added errorMessage pageContext for IBE.O
    //Share Cart feature
    String errorMessage = null;
    errorMessage = IBEUtil.nonNull((String)pageContext.getAttribute("errorMessage",PageContext.REQUEST_SCOPE));
    if (errorMessage.equals(null)|| (errorMessage.equals("")))
    if (pageContext.getAttribute("invalid", pc) != null) {
      IBEUtil.log("ibeCAcdLogin.jsp", "Login fails");
      errorMessage = mm.getMessage("IBE_PRMT_INVALID_PASSWORD_G");
    String ref = IBEUtil.nonNull(request.getParameter("ref"));
    pageContext.setAttribute("_pageTitle", mm.getMessage("IBE_PRMT_SIGN_IN_G"), pc);
    pageContext.setAttribute("selectedTab", "signin", pc);
                                                                                 %>
    <%@ include file="ibeCZzdTop.jsp" %>
    <%@ include file="ibeCZzdMenu.jsp" %>
    <SCRIPT LANGUAGE="JavaScript" SRC="ibeCButton.js"></script>
    <TABLE  border="0" cellspacing="0" cellpadding="0" width="100%">
    <TR>
    <TD valign="top" width="15%"><BR clear="all">
    </TD>
    <TD valign="top" width="70%">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
      <td class=pageTitle ><%= mm.getMessage("IBE_PRMT_SIGN_IN_G") %></td>
      </tr>
       <tr>
      <td class=OraBGAccentDark><img src="/OA_MEDIA/jtfutrpx.gif" height="1" width="1"></td>
      </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
    <% if (errorMessage != null) { %>
          <span class="errorMessage" colspan="2"><%= errorMessage %></span>
          <% } %>
        </tr>
    </table>
    <BR>
    <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <FORM name = "mainForm" method="post" action="<%= DisplayManager.getTemplate("STORE_CUST_ACC_LOGIN_AUTH").getFileName() %>">
    <input type ="hidden" name="event" value="">
      <tr>
      <td colspan="2">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="sectionHeader1"><%= mm.getMessage("IBE_PRMT_RET_USER_G") %>
        </td>
        </tr>
        <tr>
        <td class=OraBGAccentDark><img src="/OA_MEDIA/jtfutrpx.gif" height="1" width="1"></td>
        </tr>
      </table>
      </td>
      </tr>
      <tr>
      <td nowrap  ><img src=../OA_MEDIA/jtfutrpx.gif height="5" width="1"></td>
      <td nowrap class="sectionHeaderBlack"><img src="/OA_MEDIA/jtfutrpx.gif" height="5" width="1"></td>
      </tr>
      <tr>
      <td nowrap class="requiredFieldPrompt" align="right" width="30%"><%= mm.getMessage("IBE_PRMT_USERNAME_COL") %></td>
      <td nowrap width="70%">
        <input type="text" name="username" size="20" VALUE="<%=username%>">
      </td>
      </tr>
      <tr>
      <td nowrap class="requiredFieldPrompt" align="right"><%= mm.getMessage("IBE_PRMT_PWD_COL") %></td>
      <td nowrap >
      <input type="password" name="password" size="20">
      </td>
      </tr>
      <%
        out.println(RequestCtx.getSessionInfoAsHiddenParam());
        if (! "".equals(ref))
           out.println("<INPUT TYPE=HIDDEN NAME=ref VALUE=\"" + ref + "\">");
        %>
      <tr>
      <td align="right"> </td>
      <td nowrap >
                  <script language="JavaScript">
                  buttonGen("<%=mm.getMessage("IBE","IBE_PRMT_SIGN_IN_G" )%>", "javascript:submitForm('', 'mainForm')");
          </script>
          </td>
      </tr>
    </FORM>
    <tr><td></td><td class=footnote>
      <%
       if (request.getParameter("reauth") != null)
         out.println(mm.getMessage("IBE_PRMT_REAUTH"));
       else {
        try
          String custMsgKey = "IBE_PRMT_LOGIN_CSTM_MSG1";
          String custMsg    = DisplayManager.getTextMedia(custMsgKey);
          out.println(custMsg);
        }//end try
        catch (MediaException e)
         //do nothing
        }//end else
      %>
      </td></tr>
       <%
        boolean isMaintenanceMode = IBEUtil.isMaintenanceMode();
        if (! isMaintenanceMode) {
          String htmlPage = RequestCtx.getURL(
            DisplayManager.getTemplate("STORE_CUST_ACC_PWD_RESET").getFileName());
      %>
      <tr>
      <td   align="right">  </td>
      <td class="promptSmall"> <a href="<%= htmlPage %>"><%= mm.getMessage("IBE_PWD_FORGET") %>
            </a> </td>
      </tr>
      <%
      %>
              <!--<tr>
                <td align="right" nowrap class="sectionHeader1"> New user, please
                  register</td>
                <td >
                  <hr>
                </td>
              </tr>-->
      <!-- registration links start ------------------------------------------------>
       <%
        if (! isMaintenanceMode) {
       %>
      <tr>
      <td colspan="2">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="sectionHeader1"><%= mm.getMessage("IBE_PRMT_NEW_USER_G") %></td>
        </tr>
        <tr>
        <td class=OraBGAccentDark><img src=../OA_MEDIA/jtfutrpx.gif height="1" width="1"></td>
        </tr>
      </table>  </td>
      </tr>
      <%
      if (IBEUtil.useFeature("IBE_USE_B2B_FEATURES")) {
        String url = null;
        if ("".equals(ref))
          url = DisplayManager.getURL("STORE_CUST_BUSINESS_REGISTRATION");
        else
          url = DisplayManager.getURL("STORE_CUST_BUSINESS_REGISTRATION",
                                    "ref=" +
                                    oracle.apps.jtf.util.Utils.encode(ref));
      %>
      <tr>
      <td nowrap > </td>
      <td nowrap class="sectionHeaderBlack"><a href="<%=url%>"><b><%= mm.getMessage("IBE_PRMT_BIZ_ORG") %></a></td>
      </tr>
      <tr>
      <td nowrap > </td>
      <td nowrap class="prompt"><%= mm.getMessage("IBE_PRMT_BIZ_REG_MSG") %></td>
      </tr>
      <tr>
      <td nowrap  ><img src=../OA_MEDIA/jtfutrpx.gif height="5" width="1"></td>
      <td nowrap class="sectionHeaderBlack"><img src="/OA_MEDIA/jtfutrpx.gif" height="5" width="1"></td>
      </tr>
      <%
      if (IBEUtil.useFeature("IBE_USE_B2C_FEATURES")) {
        String url = null;
        if ("".equals(ref))
          url = DisplayManager.getURL("STORE_CUST_SIGNIN");
        else
          url = DisplayManager.getURL("STORE_CUST_SIGNIN",
                                    "ref=" +
                                    oracle.apps.jtf.util.Utils.encode(ref));
      %>
      <tr>
      <td nowrap  > </td>
      <td nowrap class="sectionHeaderBlack"><a href="<%=url%>"><b><%= mm.getMessage("IBE_PRMT_IND_CON") %>
                  </a></td>
      </tr>
      <tr>
      <td nowrap class="prompt" > </td>
      <td nowrap class="prompt"><%= mm.getMessage("IBE_PRMT_IND_REG_MSG") %></td>
      </tr>
    <%
      } // isMaintenanceMode
      %>
    </table>
    <table align="center" cellspacing=0 cellpadding=0 width="100%" border=0>
      <tr>
      <td><img height=14 src="../OA_MEDIA/jtfutrpx.gif" width=1></td>
      <td rowspan=2><img height=15 src="/OA_MEDIA/jtfuski.gif" width=12
          align=bottom></td>
      </tr>
      <tr>
      <td class=OraBGAccentDark width="100%"><img height=1
          src="/OA_MEDIA/jtfutrpx.gif" width=1></td>
      </tr>
      </table>
        </TD>
        <TD valign="top" width="15%"> <BR>
        </TD>
    </TR>
    </TABLE>
    <!-- registration links end -------------------------------------------------->
    <%@include file="ibeCZzdBottom.jsp" %>

  • Simultaneous login problem

    Hi 
    I am having simultaneous login problems. In the past I have been able to sign into my skype account on both my Mac Book Pro and my Windows 7 desktop PC. However since I had to change my password I can only login into one machine at a time now. Also when I change my password on the desktop PC I can only sign into that skype / computer. Whenever I type the same account name and same exact password on my Mac Book Pro, it says it doesn't recognize my sign-in details but I am 100% sure that I typed it in exactly the same way as I did on my desktop. Another is that when I reset my password on my Mac Book those details won't work on the Desktop PC and vice-versa.
    I would like to know what is the problem in this situation, I am not sure if this is an application error or a networking error where the account details are not signing in from a different IP or MAC address.
    Please and thank you!

    "The load balancing was already functional:"
    Do you have a description how to do that?
    I Would like to know how.
    "so ALL traffic, not going to the LAN network and so over this interface, went out on the DMZ interface, with source IP from LAN."
    If you put the VPN servers behind 1-1 NAT instead they will use the firewall as GW and the VPN clients will get at your remote sites/LAN IF you add routing definitions in VPN config what networks are reachable through VPN.
    Or you keep servers as they are but also add add more routing definitions in VPN AND static routes to each server with the firewall as gw to those remote networks. Default gw will still be through the DMZ IPs though.
    The problem with more than one VPN client from behind same IP address is, with your current server settings, most likely because of the client side NAT router isn't coping with the task. Your public IP VPN server(s) should mean NAT VPN problem is at the other end (customer/client network router/firewall).
    If two VPN clients behind same NAT router connected to different servers at your end, "12.34.56.80" and "12.34.56.81" (both are public IPs?) respectively I believe at least two should be able to connect.
    3G/4G modems isn't an option?
    Maybe try bringing your own tested working portable router (ethernet/wifi maybe includes a VPN client that connect to your servers) to the customer and put it temporarily on their LAN? There are these small new 3G/WiFi routers too. Depends on wether you need to be connected to customer LAN or not.
    Try other VPN solution, SSL or OpenVPN?
    Use both PPTP and L2TP simultaneously (PPTP could be troubelsome if GRE/TCP 1723 passthrough is disabled)?

  • Skype login problem on Nokia E5

    I have login problem in Nokia E5 kindly help me to make successful login

    i tried your method but my web browser doesnt give me the option:  'yes,allow always'. it only gives "continue"and "certificate details. no "yes, allow always." :/
    how can i proceed pls?

  • Roaming profile login problem to the domain

    Hi all,
    Domain Environment, DC Server with Server OS of Microsoft Server 2008 R2 Standart SP1.
    Roaming profiles unable to login to the domain on couple of PC's. They just inserting the password, starting to wait to log in with "Welcome"
    on the screen, its thinking and looks like hes gona open the user's desktop but in this secong its just logging out back to the login screen.
    Thanks for your help.
    Best Regards,
    Vlad Dodin

    Hi Vlad Dodin,
    I want to get more information about this issue.
    Had you got any error messages during the login process?
    If no domain users can log into those PCs?
    If this is just a login problem in those PCs and there is no error Roaming profiles error during the login process, this article may be helpful for you:
    How To Fix Stopping, Freezing, and Reboot Issues During Windows Login:
    http://pcsupport.about.com/od/findbysymptom/ht/windows-freezes-reboots-during-login.htm
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information
    I hope this helps.

  • ICloud login problem on Apple Mail App

    So is Apple considering its own Mail App on the Mac to be a third part app? Been having login problems since they started requring two step verification on third party apps. Once I shut off my two step verification on my iCloud account it worked fine.

    You shouldn't need to turn off two-step verification or use an app-specific password for your Mac mail to work with iCloud (mine works fine).  Try turning tow-step verification back on.  If Mail doesn't work, go to System Preferences>iCloud, uncheck Mail, restart your Mac, then go back and check Mail again.

Maybe you are looking for