Logic dosen't work

Hi,
I have a problem to change a user's password. Here is the condition. In my db it has a table called userpassword.
userpassword(empno,username,password,level)
At first time who wants to access this system must logs on to the system via submitting
username and password. The it displays the main form. My problem is, I wrote a .jsp page to update the password. But I want to mention here something. Only the user who logs into the system can change his/her password only, others can't do it.
Here is the form which I used to change the password,"changePasswordForm.html".
<form method="POST" action="changePassCtrl.jsp">
<p> </p>
<p> </p>
  <div align="center">
    <center>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
bordercolor="#C0C0C0" width="47%" id="AutoNumber1" height="189">
      <tr>
        <td width="100%" colspan="2" bgcolor="#0000FF" bordercolor="#FFFFFF" height="19">
        <font color="#FFFFFF"><b>Change Password</b></font></td>
      </tr>
      <tr>
        <td width="50%" bordercolor="#FFF3C6" height="23"
bgcolor="#FFF3C6"><b>Username</b></td>
        <td width="50%" bordercolor="#FFF3C6" height="23" bgcolor="#FFF3C6">
        <input type="text" name="username" size="15" style="border: 1px solid
#0000FF"></td>
      </tr>
      <tr>
        <td width="50%" bordercolor="#FFF3C6" height="20" bgcolor="#FFF3C6"><b>
        Enter old password</b></td>
        <td width="50%" bordercolor="#FFF3C6" height="20" bgcolor="#FFF3C6">
        <input type="text" name="oldPass" size="15" style="border: 1px solid
#0000FF"></td>
      </tr>
      <tr>
        <td width="50%" bordercolor="#FFF3C6" height="20" bgcolor="#FFF3C6"><b>Enter new
password</b></td>
        <td width="50%" bordercolor="#FFF3C6" height="20" bgcolor="#FFF3C6">
        <input type="password" name="newPass" size="15" style="border: 1px solid
#0000FF"></td>
      </tr>
      <tr>
        <td width="100%" align="center" bordercolor="#FFF3C6" height="26" colspan="2"
bgcolor="#FFF3C6">
        <input type="submit" value="SUBMIT" name="B3" style="border:1px solid #0000FF;
font-weight: bold"></td>
      </tr>
      <tr>
        <td width="50%" bordercolor="#FFFFFF" height="3"></td>
        <td width="50%" bordercolor="#FFFFFF" height="3"></td>
      </tr>
    </table>
    </center>
  </div>
</form>here is the file "changePassCtrl.jsp"
<%@ page language="java" import="java.util.*"%>
<%@ page import="hrm.UserAccManager" %>
<%@ page session="true" %>
<%@ page import="java.sql.*,javax.servlet.http.*" %>
<jsp:useBean id="useraccount" class="hrm.UserAccManager" scope="request"/>
<% hrm.UserAccManager user =
(hrm.UserAccManager)request.getSession().getAttribute("useraccount");%>
<%
     final String DRIVER = "com.mysql.jdbc.Driver";
       final String DBURL  = "jdbc:mysql://localhost:3306/superfine";
        // Load the driver class and establish a connection
     Class.forName(DRIVER);
        Connection connection = DriverManager.getConnection(DBURL);
        PreparedStatement pstmt =null;     
     String value1 = user.getUsername();
     String value2 = user.getPassword();
     String nextPage ="MainForm.jsp";
     String uName = request.getParameter("username");
     String uPass1 = request.getParameter("oldPass");
     String uPass2 = request.getParameter("newPass");
     if((value1==uName)&& (value2==uPass1)){
          //Prepare a statement that will handle the update
          String sql ="UPDATE UserPassword SET password= + uPass2 + ";
         pstmt = connection.prepareStatement(sql);          
          //assign value for ???
               pstmt.setString(1, uPass2);          
               pstmt = connection.prepareStatement(sql);
               pstmt.executeUpdate();
               //Close any open JDBC objects
               if(pstmt != null) pstmt.close();
               if(connection != null) connection.close();
     %>
          <jsp:forward page="MainForm.jsp"/>
     <%
     else{
     %>
          <jsp:forward page="InvalidUNamePass.html"/>
     <%
%>In this file ther is some logic behind it. If the user enters the correct username and
password, then it must update the db and finnaly should display the "MainForm.jsp".
Otherwise if username and password invalid, then it should displays
"InvalidUNamePass.html". But my problem is, when I enter a invalid username and password
it displays "InvalidUNamePass.html", but it also display the "InvalidUNamePass.html" for
valid username and password also. Why is it?
Please can somebody help me. Thanks.

You cannot compare strings with "==" operator. Use String equals method to compare the strings. That is why it is going to the error page.
if((value1==uName)&& (value2==uPass1)){
Replace with
if (value1.equals(uName) ---- Like this.
Thanks

Similar Messages

  • My logic dosen't work - help me please

    Hello,
    I'm having a small trouble. Here is the problem.
    I have a jsp page, which I used to enter data. There is a textbox called nicno. Now I want to verify that, if a user enter a valid nicno or not.
    Here is the .jsp page which I use to enter data.
    <form method="POST" action="FinalCtrl.jsp">
      <div align="center">
        <center>
        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
    bordercolor="#111111" width="54%" id="AutoNumber1">
          <tr>
            <td width="50%" bgcolor="#DEB887" bordercolor="#DEB887"><b>Enter
            details.....</b></td>
            <td width="50%" bgcolor="#DEB887" bordercolor="#DEB887"> </td>
          </tr>
          <tr>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6"> </td>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6"> </td>
          </tr>
          <tr>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">Nicno</td>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">
            <input type="text" name="nicno" size="24" style="border: 1px solid #0000FF"></td>
          </tr>
          <tr>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">Date of
            interview</td>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">
                <select size="1" name="dateInterM" style="border: 1px solid #0000FF">
              <option>January
              <option>February
              <option>March
              <option>April
              <option>May
              <option>June
              <option>July
              <option>August
              <option>September
              <option>October
              <option>November
              <option>December
         </select>
            <input type="text" name="dateInterD" size="4" style="border: 1px solid #0000FF"><input
    type="text" name="dateInterY" size="6" style="border: 1px solid #0000FF"></td>
          </tr>
          <tr>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">Basic salary</td>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6">
            <input type="text" name="basicSal" size="20" style="border: 1px solid #0000FF"></td>
          </tr>
          <tr>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6"> </td>
            <td width="50%" bgcolor="#FFF3C6" bordercolor="#FFF3C6"> </td>
          </tr>
          <tr>
            <td width="100%" bgcolor="#FFF3C6" bordercolor="#FFF3C6" align="center" colspan="2">
            <input type="submit" value="APPROVE" name="B1" style="border: 1px solid #0000FF"></td>
          </tr>
          <tr>
            <td width="100%" bgcolor="#FFF3C6" bordercolor="#FFF3C6" align="center"
    colspan="2"> </td>
          </tr>
        </table>
        </center>
      </div>
      <p align="center"><a href="MainForm.jsp">Go to main form</a></p>
      <p> </p>
    </form>Here is the file "FinalCtrl.jsp"
    <%@ page language="java" import="java.util.*"%>
    <%@ page import="hrm.*" %>
    <%@ page session="true" %>
    <jsp:useBean id="approve" class="hrm.ApproveMgr" scope="request"/>
    <jsp:setProperty name="approve" property="*"/>
    <%
    String nextPage ="MainForm.jsp";
         if(approve.verifyNicNo())
              nextPage="FinalSeleMgr.jsp";
         }else{
              nextPage="InvalidNic.html";
    %>
    <jsp:forward page="<%=nextPage%>"/>..............................................................
    In order to do this I wrote a javaBean called ApproveMgr.java
    package hrm;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ApproveMgr
         private  String DRIVER = "com.mysql.jdbc.Driver";
           private  String URL = "jdbc:mysql://localhost:3306/super";
         private  Connection connection;
            private  PreparedStatement pstmt1;
            private String nicno;
            private String interviewDateM;
            private int interviewDateD;
            private int interviewDateY;
           // Constructor
         public ApproveMgr()
              this.nicno = nicno;
              this.interviewDateM = interviewDateM;
              this.interviewDateD = interviewDateD;
              this.interviewDateY = interviewDateY;
       * Returns the nicno.
       public String getNicno()
          return nicno;
       * Sets the nicno.
       public void setNicno(String nicno)
          this.nicno = nicno;
       * Returns the interviewDateM.
       public String getInterviewDateM()
          return interviewDateM;
       * Sets the interviewDateM.
       public void setInterviewDateM(String interviewDateM)
         this.interviewDateM = interviewDateM;
       * Returns the interviewDateD.
       public int getInterviewDateD()
          return interviewDateD;
       * Sets the interviewDateD.
       public void setInterviewDateD(int interviewDateD)
         this.interviewDateD = interviewDateD;
       * Returns the interviewDateY.
       public int getInterviewDateY()
          return interviewDateY;
       * Sets the interviewDateY.
       public void setInterviewDateY(int interviewDateY)
         this.interviewDateY = interviewDateY;
         // Initializes the connection and statements
            public void initConnection() {
                    if (connection == null) {
                 try {
                          String sql;
                          // Open the database
                          Class.forName(DRIVER).newInstance();
                          connection = DriverManager.getConnection(URL);
                          //Verify nicno
                          sql="SELECT nicNo FROM Approve where nicNo= ?";          
                   pstmt1 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
         public boolean verifyNicNo(){
              boolean nic_no_select_ok = false;
              String nic="xxxx";
              initConnection();
                    try {
                       pstmt1.setString(1, nicno);
                   ResultSet rs1 = pstmt1.executeQuery();               
                                if(rs1.next()){
                        nic=rs1.getString("nicNo");
                               if(nic.equals("xxxx"))
                        nic_no_select_ok = true;
                   } else{
                        nic_no_select_ok = false;     
                   rs1.close();
                           pstmt1.close();
                    catch (Exception ex) {
                      System.err.println(ex.getMessage());
              return nic_no_select_ok;
    Here is my problem. In my table Approve it has the following record.
    Approve(810000000V,January,02,2004)
    When I go to the form and enter the data and clicks to the Approve button it always displays the
    error page "Invalid nicno".
    This error page displays when I enter a nicno which is already exists or not. It should be
    display only for invalid number.(which does not exist in Approve table) only. But it dosen't do like that. Please, can somebody tells me whats going on.
    Thanks.

    Try calling approve.setNicno(......); before approve.verifyNicno()I think that should do it...
    TheReader

  • Gif imagen dosen't work at o.s 6.0

    The gif imagen in profile bbmsn contactas dosen't work in my torch 9800 os 6.0 all my friends that have got the os 6.0 have goy the same proble, i wanna know if there are or when is coming a update to solution this problem

    Hi,
    the problem whit NI 9223 module and the example that you talk about is know. Indeed, there is a CAR - Corrective Action Request - #30724 that deals with the erroneous implementation of the example.
    To improve the code, the owner of CAR, suggest:
    Added pipelining loops and removed from FPGA VI to Increase maximum acquisition rate and modified host VI to implement proper DMA FIFO programming practices.
    I try to implement and improve the code. Bye
    Mario

  • What is luw (logical unit of work)

    pls tell me what is luw (logical unit of work)
    what r the types of luw .
    2 what ispurpose of code inspector and extended program check
    pls expalin the diffrence b/w those two
    3what are the candidate keys in db tables
    4 what is the difference b/w  occurs 1 and occurs 2 clauses
    data : begin of itab occurs 0 .
    data : itab type standard table of structure type initial size 1 with header line
    pls tell diffrence between theese two statements
    5can u pls tell what is the client in sap
    pls tell answers to questions
    pls dont give any websites addresses to see answers
    6 what is the transaction from database point of view
    7 what is the variant in alv reports
    how do we use reuse_alv_grid_variant_get fun module in alvs

    hi,
      this gives complete idea
      SAP LUW
    Since, as a rule, an application program is processed by several work processes in succession, and every change of the work process is linked with an implicit database commit , an application program is not automatically linked with a single database LUW. This applies in particular to dialog-oriented applications, in which one database LUW is assigned to one dialog step.
    To ensure the data consistency of application programs that are executed across different work processes, the application statements are not directly executed in an SAP LUW, rather, are first registered and then executed by a single work process, that is, in a single database LUW.
    Two techniques are available for bundling the change statements in a database LUW:
    Bundling via function modules (update)
    Through the statement CALL FUNCTION...IN UPDATE TASK, an update function module is registered for subsequent execution in an update work process.
    Bundling via function modules (transactional RFC)
    Through the statement CALL FUNCTION... IN BACKGROUND TASK DESTINATION, a remote- compatible function module is registered for subsequent asynchronous execution via the RFC interface (transactional RFC ).
    Bundling via subprograms
    Through the statement PERFORM ... ON COMMIT, a subprogram is registered for subsequent execution in a different work process.
    Statements for SAP LUWs
    A SAP LUW is controlled via the Open SQL statements COMMIT WORK, ROLLBACK WORK and SET UPDATE TASK LOCAL.
    Note
    A function module can be classified either as an update function module or remote-compatible, but not both at the same time. The update helps realize SAP LUWs within an SAP System, while the transactional RFC creates LUWs in distributed systems.
    COMMIT WORK
    Variants:
    1. COMMIT WORK [AND WAIT].
    2. COMMIT CONNECTION con.
    Effect
    Terminates an SAP LUW and stores the changes.
    Variant 1
    COMMIT WORK [AND WAIT].
    Effect
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process. In this case, COMMIT WORK performs the following actions:
    It executes all subroutines registered using PERFORM ON COMMIT.
    It triggers an internal event in Object Services that ensures the registration of changes in persistent objects as the last update function module, as well as the subsequent initialization of persistent object attributes.
    It initiates the processing of all registered update function modules in the update work process.
    This executes all high-priority update function modules registered using CALL FUNCTION ... IN UPDATE TASK in the order of their registration and in a common database LUW. If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating). If you specify the addition AND WAIT, however, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
    If all high-priority update function modules are completed successfully, the statement executes the low-priority update function modules together in a common database LUW.
    In parallel, it also executes the individual function modules registered using CALL FUNCTION ... IN BACKGROUND TASK DESTINATION in a separate database LUW for each destination.
    It handles all SAP locks set in the current program according to the value of the formal parameter _SCOPE of the corresponding lock function modules.
    It triggers a database commit that also terminates the current database LUW.
    The completion of statement COMMIT WORK triggers the event TRANSACTION_FINISHED of the system class CL_SYSTEM_TRANSACTION_STATE, where the parameter KIND has the value of the constant CL_SYSTEM_TRANSACTION_STATE=>COMMIT_WORK.
    If the statement COMMIT WORK is executed by calling special programs, be aware of the following:
    In a program executed using batch input, or if you have called the program using the USING addition of the statement CALL TRANSACTION, COMMIT WORK terminates the batch input processing when using the corresponding settings.
    In a program called using CALL DIALOG, COMMIT WORK initiates the processing of subroutines or updated function modules registered using PERFORM ... ON COMMIT and CALL FUNCTION ... IN UPDATE TASK. Therefore, it does not complete the current SAP LUW. The SAP LUW cannot be completed until you execute the COMMIT WORK statement in the calling program.
    You cannot execute the COMMIT WORK statement during the updating procedure or during the execution of subroutines registered using PERFORM ... ON {COMMIT|ROLLBACK}.
    System fields
    sy-subrc Meaning
    0 You have specified the AND WAIT addition, and the updating of the update function modules was successful.
    4 You have specified the AND WAIT addition, and the updating of the update function modules was not successful.
    The COMMIT WORK statement always sets sy-subrc to 0 if the AND WAIT addition is not specified.
    Note
    The COMMIT WORK statement closes all database cursors . Open SQL statements that access a database cursor later ( SELECT loop and FETCH) raise an exception that cannot be handled.
    Variant 2
    COMMIT CONNECTION con.
    Note
    This statement is for internal use only.
    It cannot be used in application programs.
    Effect
    The COMMIT command is not executed on the standard database, but only on the secondary database connection specified by con. con is the name of the database connection as it was specified in the table DBCON in the column CON_NAME. The database connection con can also be specified dynamically in the form (source_text) - the source_text field contains the name of the database connection. The source_text field must be of the type C or STRING.
    On the specified secondary database connection, the database commit:
    Closes all open database cursors (OPEN CURSOR)
    Releases all database locks
    Note
    Note that the COMMIT CONNECTION DEFAULT statement unlike COMMIT WORK executes a pure database commit on the DEFAULT connection.
    Exceptions
    Non-Catchable Exceptions
    Cause: COMMIT WORK is not possible in a FORM that was called using PERFORM ... ON COMMIT.
    Runtime Error: COMMIT_IN_PERFORM_ON_COMMIT
    Cause: COMMIT WORK is not allowed in the update.
    Runtime Error: COMMIT_IN_POSTING
    ROLLBACK WORK
    Variants:
    1. ROLLBACK WORK.
    2. ROLLBACK CONNECTION con.
    Effect
    Terminates a SAP-LUW without storing the changes.
    Variant 1
    ROLLBACK WORK.
    Effect
    The statement ROLLBACK WORK closes the current SAP-LUW and opens a new one. In doing so, all change requests of the current SAP-LUW are canceled. To do this, ROLLBACK WORK carries out the following actions:
    Executes all subprograms registered with PERFORM ON ROLLBACK.
    Deletes all subprograms registered with PERFORM ON COMMIT.
    Raises an internal exception in the Object Services that makes sure that the attributes of persistent objects are initialised.
    Deletes all update function modules registered with CALL FUNCTION ...IN UPDATE TASK from the VBLOG and deletes all transactional remote Function Calls registered with CALL FUNCTION ... IN BACKGROUND TASK from ARFCSSTATE and from ARFCSDATA.
    Removal of all SAP locks set in the current program in which the formal parameter _SCOPE of the lock function module was set to the value 2.
    Triggers a database rollback, which also ends the current database-LUW.
    After completion of the statement COMMIT WORK, the event TRANSACTION_FINISHED of the system class CL_SYSTEM_TRANSACTION_STATE is raised, in which the parameter KIND has the value of the constant CL_SYSTEM_TRANSACTION_STATE=>ROLLBACK_WORK.
    Variant 2
    ROLLBACK CONNECTION con.
    Note
    This statement is for internal use only.
    It cannot be used in application programs.
    Effect
    The ROLLBACK-statement is not executed on the standard database but only on the secondary database connection, specified through con. con is the name of the database connection as it was specified in table DBCON in column CON_NAME. The database connection con can also be specified dynamically in the form (source_text), in which the field source_text contains the name of the database connection. The field source_text must be of the type C or STRING.
    Notes
    As all opened database cursors on the respective database connections are closed at ROLLBACK, the attempt to continue a SELECT-loop after a ROLLBACK, leads to a runtime error. Due to the same reason, a FETCH after a ROLLBACK to the then closed cursor, leads to a runtime error. You have to make sure that cursors that are still open, are no longer used after ROLLBACK.
    After execution of the statement ROLLBACK, SY-SUBRC is always equal to 0. It is not necessary to check if SY-SUBRC is unequal to 0 after ROLLBACK.
    ROLLBACK must not be used during update (CALL FUNCTION ... IN UPDATE TASK) or during the execution of FORMs, which were registered with PERFORM ... ON COMMIT resp. PERFORM ...ON ROLLBACK.
    The statement ROLLBACK WORK is implicitly executed if a message of the type A is treated with the addition ERROR_MESSAGE when calling a function module with CALL FUNCTION.
    Exceptions
    Non-Catchable Exceptions
    Cause: ROLLBACK WORK is not allowed within a FORM that is called with PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK.
    Runtime Error: ROLLBACK_IN_PERFORM_ON_COMMIT
    Cause: ROLLBACK WORK is not allowed within an update.
    Runtime Error: ROLLBACK_IN_POSTING
    SET UPDATE TASK LOCAL
    Syntax
    SET UPDATE TASK LOCAL.
    Effect
    This statement specifies that the high-priority update function modules - registered during the current SAP LUW using CALL FUNCTION ... IN UPDATE TASK - are registered in the ABAP memory instead of the VBLOG database table. In addition, it specifies that the current work process and not the update work process run these modules during the current database LUW, when the COMMIT WORK statement is executed. This statement has no effect on low-priority update function modules.
    At the beginning of every SAP LUW, the local update function is deactivated. If you wish to use it, you must reactivate it again before the first update function module is registered.
    System fields
    sy-subrc Meaning
    0 The local update function is activated.
    1 The local update function has not been activated, because the program has already registered at least one update function module for the normal updating procedure in the current SAP-LUW.
    Notes
    The local update function performs a synchronous update according to the COMMIT WORK statement, independent of the addition AND WAIT.
    The occurrence of a database rollback during the local update affects all previous change requests.

  • UBLR dosen´t work in an interfaces trunk?

    I´m configuring Aggregate policer in a Sup720-3B, I need to configure Aggregate Policer in a Trunk interfaces, It´s required to limit the bandwidth for vlan to L2 through an interface trunk, between two catalyst.  But it´s dosen´t work. The configuration that I am using is:
    S6509#run int giga 3/2
    Building configuration...
    Current configuration : 167 bytes
    interface GigabitEthernet3/2
    switchport
    switchport trunk encapsulation dot1q
    switchport mode trunk
    no ip address
    service-policy input LIMIT
    end
    S6509#
    S6509#show ip access-lists TRAFFIC
    Extended IP access list TRAFFIC
    10 permit ip any any
    S6509#
    S6509#show class-map Daniel
    Class Map match-all Daniel (id 1)
    Match access-group name TRAFFIC
    S6509#
    S6509#
    S6509#show policy
    S6509#show policy-map
    Policy Map LIMIT
    Class Daniel
    police flow mask src-only 2000000 200000 conform-action transmit exceed-action drop
    S6509#
    S6509#
    hostname S6509
    boot system flash disk1:s72033-advipservicesk9_wan-mz.122-18.SXF14.bin
    logging buffered 32768 debugging
    logging rate-limit all 1000
    enable secret 5 $1$Oewp$4FbojEBx0Nn.sXO1ZzhIj/
    class-map match-all Daniel
    match access-group name TRAFFIC
    policy-map LIMIT
    class Daniel
    police flow mask src-only 2000000 200000 conform-action transmit exceed-action drop
    S6509#show mls qos
    QoS is enabled globally
    Policy marking depends on port_trust
    QoS ip packet dscp rewrite enabled globally
    Input mode for GRE Tunnel is Pipe mode
    Input mode for MPLS is Pipe mode
    QoS Trust state is DSCP on the following interface
    Gi3/4
    Vlan or Portchannel(Multi-Earl) policies supported: Yes
    Egress policies supported: Yes
    ----- Module [5] -----
    QoS global counters:
    Total packets: 233
    IP shortcut packets: 0
    Packets dropped by policing: 0
    IP packets with TOS changed by policing: 0
    IP packets with COS changed by policing: 0
    Non-IP packets with COS changed by policing: 0
    MPLS packets with EXP changed by policing: 0
    S6509#
    S6509#
    S6509#show policy-map interface gigabitEthernet 3/2
    GigabitEthernet3/2
    Service-policy input: LIMIT
    Class-map: Daniel (match-all)
    0 packets, 0 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: access-group name TRAFFIC
    Class-map: class-default (match-any)
    0 packets, 0 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: any
    S6509#

    Contact the wireless carrier to which the iPhone is locked and
    ask that carrier if they provide unlocking and if you qualify.
    What is the exact wording of any error message you receive?

  • LoadingSecondFile - Dosen't work

    loadMovie() loads SWFs into _root.mc1.mc2, and I use the below method to be able to identify the selected movieclip. It works when I load the first SWF but when the second SWF is been loaded it dosen't work. What may be the cause for this.
    I tried unloadMovie() and removeMovieClip() to clear the movieclip before loading the new file, but no success.
    function traceName():Void {
         trace(this._name);
    for (i=0; i<5; i++) {
        _root.mc1.mc2["color"+i].onRelease = traceName;

    Thanks Ned. But I've got an array named mc
    var mc:Array = [mc1, mc2, mc3];
    I'm loading the below code as an external swf as well. Could that be causing this issue?
    function traceName():Void {
         trace(this._name);
    for (i=0; i<5; i++) {
        _root.mc1.mc2["color"+i].onRelease = traceName;

  • In I tunes I cant down load a CD.  I get the message "The file couldn't be convereted.  You don't have write access for you ITunes media folder or a folder with in it. To change permissions, ...  When I do this it still dosen't work

    In I tunes I can't down load a CD.  I get the message "The file couldn't be convereted.  You don't have write access for you ITunes media folder or a folder with in it. To change permissions, ...  When I do this it still dosen't work.

    Thanks C F McBlob but I recursively changed the permissions of my Music directory meaning every file and directory beneath it, as well as the directory itself, had the write permissions added.
    I used "chmod -R u+w ./Music" and chmod -R g+w ./Music" to do it.
    Alas, no cigar. :-(

  • When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Apache in testing dosen't work

    i install apache mysql and php in testing repo.
    but apache dosen't work.
    $ sudo /etc/rc.d/httpd start
    :: Starting HTTP Daemon                                                  [FAIL]
    $ sudo /usr/sbin/apachectl start
    httpd: Syntax error on line 232 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_access.so into server: /usr/lib/apache/mod_access.so: cannot open shared object file: No such file or directory
    there is not mod_access.so. hwo to run appache daemon?
    $ pacman -Ql apache | grep /usr/lib/apache/mod
    apache /usr/lib/apache/mod_actions.so
    apache /usr/lib/apache/mod_alias.so
    apache /usr/lib/apache/mod_asis.so
    apache /usr/lib/apache/mod_auth_basic.so
    apache /usr/lib/apache/mod_auth_digest.so
    apache /usr/lib/apache/mod_authn_anon.so
    apache /usr/lib/apache/mod_authn_dbd.so
    apache /usr/lib/apache/mod_authn_dbm.so
    apache /usr/lib/apache/mod_authn_default.so
    apache /usr/lib/apache/mod_authn_file.so
    apache /usr/lib/apache/mod_authz_dbm.so
    apache /usr/lib/apache/mod_authz_default.so
    apache /usr/lib/apache/mod_authz_groupfile.so
    apache /usr/lib/apache/mod_authz_host.so
    apache /usr/lib/apache/mod_authz_owner.so
    apache /usr/lib/apache/mod_authz_user.so
    apache /usr/lib/apache/mod_autoindex.so
    apache /usr/lib/apache/mod_cern_meta.so
    apache /usr/lib/apache/mod_cgi.so
    apache /usr/lib/apache/mod_dav.so
    apache /usr/lib/apache/mod_dav_fs.so
    apache /usr/lib/apache/mod_dbd.so
    apache /usr/lib/apache/mod_deflate.so
    apache /usr/lib/apache/mod_dir.so
    apache /usr/lib/apache/mod_dumpio.so
    apache /usr/lib/apache/mod_env.so
    apache /usr/lib/apache/mod_expires.so
    apache /usr/lib/apache/mod_ext_filter.so
    apache /usr/lib/apache/mod_filter.so
    apache /usr/lib/apache/mod_headers.so
    apache /usr/lib/apache/mod_ident.so
    apache /usr/lib/apache/mod_imagemap.so
    apache /usr/lib/apache/mod_include.so
    apache /usr/lib/apache/mod_info.so
    apache /usr/lib/apache/mod_log_config.so
    apache /usr/lib/apache/mod_log_forensic.so
    apache /usr/lib/apache/mod_logio.so
    apache /usr/lib/apache/mod_mime.so
    apache /usr/lib/apache/mod_mime_magic.so
    apache /usr/lib/apache/mod_negotiation.so
    apache /usr/lib/apache/mod_proxy.so
    apache /usr/lib/apache/mod_proxy_ajp.so
    apache /usr/lib/apache/mod_proxy_balancer.so
    apache /usr/lib/apache/mod_proxy_connect.so
    apache /usr/lib/apache/mod_proxy_ftp.so
    apache /usr/lib/apache/mod_proxy_http.so
    apache /usr/lib/apache/mod_rewrite.so
    apache /usr/lib/apache/mod_setenvif.so
    apache /usr/lib/apache/mod_speling.so
    apache /usr/lib/apache/mod_ssl.so
    apache /usr/lib/apache/mod_status.so
    apache /usr/lib/apache/mod_suexec.so
    apache /usr/lib/apache/mod_unique_id.so
    apache /usr/lib/apache/mod_userdir.so
    apache /usr/lib/apache/mod_usertrack.so
    apache /usr/lib/apache/mod_version.so
    apache /usr/lib/apache/mod_vhost_alias.so

    A bunch of modules have changed for apache 2.2 and got new names etc, therefore you have to edit httpd.conf, take look at http://httpd.apache.org/docs/2.2/new_features_2_2.html. For example, mod_access is now called mod_authz_host (with the new identifier authz_host_module, instead of access_module)

  • My password dosen't work in app store either game center !!

    My password dosen't work in app store either game center , what is the problem?

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Apple has finally posted an update on the iCloud status page. https://www.apple.com/support/systemstatus/
    Do not change your settings.

  • AppStore dosen't work in iOS 6

    Since I updated to iOS 6, AppStore dosen't work properly.
    When I tap on the Purchased tab, it load forever!
    Everything else works.
    Does anybody have the same issue?
    Any Fix??

    The following procedure partialy solved my problem.
    Turn off Genius (Settings --> iTunes Store & App Store --> Apple ID --> Show Apple ID --> Turn Off Genius for Apps), quit the App Store (quick double klick Home button --> press &hold App Store --> tap "-"), turn Genius on, open the App Store.
    After this procedure Featured, Charts and Genius started to work.
    BUT  Search STILL doesn't work :-(
    good luck !

  • TEXTAREA in JSP dosen't work

    TEXTAREA in JSP dosen't wrap to next line and I use the following syntax.
    <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'>
    when I type it keep wraping in the first line and dosen't go to 2nd line at all.

    The same syntax, I tried in a seperate html file it works.
    <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'>
    But, it dosen't work in my jsp? If I use your syntax in my JSP, still not working?

  • My computer broke, so I had to change the hardisk(?). Now iTunes dosen't work anymore. It says that the program is either lockes, on a locked unit or I don't have the right to open the library? Help please? :)

    My computer broke, so I had to change the hardrive-hardisk(?). Now iTunes dosen't work anymore. It says that the program is either locked, is on a locked unit or I don't have the right to open the library? Help please?

    Sometimes a restart can fix this issue, but sometimes you have to fix the iTunes Library.itl file.
    Try quitting iTunes, renaming the itunes file "iTunes Library.itl" to "iTunes Library Old.itl"
    then open itunes again
    This should generate a new library file.
    From this point you can try two different avenues.
    1. Re-add everything to your library by going to the iTunes file menu, and selecting "add to library"
    2. You can try deleting the iTunes Library.itl you created, changing the name of the old file back to iTunes Library.itl
    I hope this helps. I did something like this a while back and it worked for me.

  • I just finished dowloading the new osx upadte and my iphoto program dosen't work anymore

    i just finished dowloading the new osx upadte and my iphoto program dosen't work anymore

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • MacBook Pro Microphone dosen't work!

    Internal Microphone dosen't work suddenly. Please help me!

    Your appointment at the genius bar for an evaluation is FREE, in warranty or out. These guys put their hands on these computers all day every day, and they are good at physical problems like this one.

Maybe you are looking for

  • Commenting Not Allowed

    I have converted several scanned checklists to form fillable PDF's using Designer. After converting them to form fillable I have inserted several check box objects so that our employees (who all have Adobe Standard) can fill out the check lists and s

  • IOS 7.0.2 capacity from pc

    how many MB iOS 7.0.2 takes, if i am downloading it from PC

  • IM Installation - FATAL ERROR: Cannot obtain Application SSO token

    Hi Guys, I am having a problem trying to install IM, I got the following error, Registering services with Access Manager...exist exception - AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token. Check AMConfig.properties for the followi

  • Where is User Order (Manual sort)  in V3.5??

    I just installed v 3.5 and cannot manually arrange images anymore.  Is this a bug?  If so it's a huge one.

  • Odd Intermittent Time Machine error - volume in use

    Occasionally when backing up to a shared time machine volume from a system running 10.7 server it gives an error message that the volume is in use.  /Backups adds a number next to itself such as /Backups-1 or /Backups-15.  The backups seem to automat