Using string in if sentance?

I've had some problems with checking a string in an if sentance.
String var = "text";
if (var == "text") {
blablabla
This doesn't work if var is set to String. How can I solve it, switch doesn't work either. It doesn't fail to compile, and the variable is correct.
Edited by: Skruf on Sep 10, 2008 2:20 PM

For more information, check out the [Java FAQ|http://access1.sun.com/FAQSets/newtojavatechfaq.html#9] and [String literals|http://www.javaranch.com/journal/200409/ScjpTipLine-StringsLiterally.html].
~

Similar Messages

  • Special characters in XML structure when prepared using String

    Hi,
       I am preparing an XML structure using 'String'. I print the prepared XML structure in the server log. Issue is that I am seeing extra characters([[ and ]]) that I am not printing.
    Please let me know how to get rid of those.
    Code Excerpt
            String xmlHeader = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
            String lsb_xmlcon = xmlHeader;
            logger.info("ReqXMLString Process  1  --->" + lsb_xmlcon);
            lsb_xmlcon = lsb_xmlcon +("\n");
            logger.info("ReqXMLString Process  1.1  --->" + lsb_xmlcon);
            lsb_xmlcon = lsb_xmlcon +("<REQUEST>");
            lsb_xmlcon = lsb_xmlcon +("\n");
            logger.info("ReqXMLString Process  1.2  --->" + lsb_xmlcon);
    Log
    ReqXMLString Process  1  ---><?xml version="1.0" encoding="utf-8" ?>
    ReqXMLString Process  1.1  ---><?xml version="1.0" encoding="utf-8" ?>[[
    ReqXMLString Process  1.2  ---><?xml version="1.0" encoding="utf-8" ?>[[
    <REQUEST>
    Thanks,
    Message was edited by: 996913
    This issue is observed only while running the code in server, not from Jdev.
    When we append the additional tags without new line character, "\n", there are no extra characters being added. Also, in other case also. where we used "Marshaller" to prepare the XML, we have seen this issue.
    After we set the below property to false, we got rid of the extra characters.
                            jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, false);
    Apparently the insertion of new line when the code runs on server(Weblogic 10.3.6.0) is creating the issue.
    Please let me know if anyone has come across a similar scenario.
    Thanks,

    I am building this XML in a servlet so ,right, DOM does process XML (even though a valid HTML file can be loaded into a DOM object) but if you build XML using DOM then write the XML out using PrintWriter and Transformer objects this will cause the XML to print out in your browser. If you view source on this XML you will see that the DOM object has translated all special characters to there &xxxx; equivalent. For a example: when the string (I know "cool" java) gets loaded into a attribute using the DOM object then wrote back out it looks like (I know &xxx;cool&xxx; java) if you view the source in your browser. This is what it should do, but the DOM object is not change the � to the "&xxxxx;". This servlet is acting as a gateway between a Java API and a windows asp. The asp will call the servlet expecting to get XML back and load it directly into a DOM object. When the windows DOM object gets the xml that I am returning in this servlet is throws a exception "invalid character" because the � was not translated to &xxxx; like the other characters were. According to the book HTML 4 in 24 hours (and other references) the eacute; or #233; are how you say "�" in HTML or XML. How do you say it?

  • How to retrieve IndividualStrings from a txt file using String Tokenizer.

    hello can any one help me to retrieve the individual strings from a txt file using string tokenizer or some thing like that.
    the data in my txt file looks like this way.
    Data1;
    abc; cder; efu; frg;
    abc1; cder2; efu3; frg4;
    Data2
    sdfabc; sdfcder; hvhefu; fgfrg;
    uhfhabc; gffjcder; yugefu; hhfufrg;
    Data3
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    i need to read the data as an individual strings and i need to pass those values to diffarent labels,the dat in Data3 i have to read those values and add to an table datamodel as 6 columns and rows depends on the data.
    i try to retrieve data using buffered reader and inputstream reader,but only the way i am retrieving data as an big string of entire line ,i tried with stringtokenizer but some how i was failed to retrive the data in a way i want,any help would be appreciated.
    Regards,

    Hmmm... looks like the file format isn't even very consistent... why the semicolon after Data1 but not after Data2 or Data3??
    Your algorithm is reading character-by-character, and most of the time it's easier to let a StringTokenizer or StreamTokenizer do the work of lexical analysis and let you focus on the parsing.
    I am also going to assume your format is very rigid. E.g. section Data1 will ALWAYS come before section Data2, which will come before section Data3, etc... and you might even make the assumption there can never be a Data4, 5, 6, etc... (this is why its nice to have some exact specification, like a grammar, so you know exactly what is and is not allowed.) I will also assume that the section names will always be the same, namely "DataX" where X is a decimal digit.
    I tend to like to use StreamTokenizer for this sort of thing, but the additional power and flexibility it gives comes at the price of a steeper learning curve (and it's a little buggy too). So I will ignore this class and focus on StringTokenizer.
    I would suggest something like this general framework:
    //make a BufferedReader up here...
    do
      String line = myBufferedReader.readLine();
      if (line!=null && line.trim().length()>0)
        line = line.trim();
        //do some processing on the line
    while (line!=null);So what processing to do inside the if statement?
    Well, you can recognize the DataX lines easily enough - just do something like a line.startsWith("Data") and check that the last char is a digit... you can even ignore the digit if you know the sections come in a certain order (simplifying assumptions can simplify the code).
    Once you figure out which section you're in, you can parse the succeeding lines appropriately. You might instantiate a StringTokenizer, i.e. StringTokenizer strtok = new StringTokenizer(line, ";, "); and then read out the tokens into some Collection, based on the section #. E.g.
    strtok = new StringTokenizer(line, ";, ");
    if (sectionNo==0)
      //read the tokens into the Labels1 collection
    else if (sectionNo==1)
      //read the tokens into the Labels2 collection
    else //sectionNo must be 2
      //create a new line in your table model and populate it with the token values...
    }I don't think the delimiters are necessary if you are using end-of-line's as delimiters (which is implicit in the fact that you are reading the text out line-by-line). So the original file format you listed looks fine (except you might want to get rid of that rogue semicolon).
    Good luck.

  • Error in XSLT mapping while using string functions

    Hi All,
    While using tokenize() and substring-before() functions in XSLT mapping,we are getting an error.The error message is Unexpected symbol "" So while using string functions in XSLT mapping do we have to use any header functions.
    Please through light on syntax etc.,of string functions in XSLT.
    Thanx in advance,
    Lokesh Dhulipudi
    Edited by: LOKESH DHULIPUDI on Dec 27, 2007 7:32 AM

    Hi,
    Hope you have gone thru this help:
    http://w3schools.com/xsl/default.asp
    Rgds, Moorthy

  • Problem in using String in Implicit Cursor

    Hi,
    I am facing problem in using String in Implicit Cursor:
    I have initialise
    DECLARE
    v_grant varchar2(4000);
    begin
    v_grant:='SELECT TABLE_NAME FROM DUMP_USER_TABLES WHERE TABLE_NAME LIKE ';
    FOR obj IN (SELECT v_grant||'''BS%''' FROM dual) LOOP
    V_REVOKE:='REVOKE ALL ON ' || 'obj.TABLE_NAME' || ' FROM ' || '''TEST''';
    DBMS_OUTPUT.PUT_LINE('THE REVOKE STATEMENT IS'||V_REVOKE);
    num := num + 1;
    END LOOP;
    END;
    I am not getting the value from obj.TABLE_NAME its coming as 'obj.TABLE_NAME'
    Kindly anyhelp will be needful for me

    Besides from what Sybrand already pointed out clearly:
    Your example doesn't run at all:
    MHO%xe> DECLARE
      2  v_grant varchar2(4000);
      3  begin
      4  v_grant:='SELECT TABLE_NAME FROM DUMP_USER_TABLES WHERE TABLE_NAME LIKE ';
      5  FOR obj IN (SELECT v_grant||'''BS%''' FROM dual) LOOP
      6  V_REVOKE:='REVOKE ALL ON ' || 'obj.TABLE_NAME' || ' FROM ' || '''TEST''';
      7  DBMS_OUTPUT.PUT_LINE('THE REVOKE STATEMENT IS'||V_REVOKE);
      8  num := num + 1;
      9  END LOOP;
    10  END;
    11  /
    V_REVOKE:='REVOKE ALL ON ' || 'obj.TABLE_NAME' || ' FROM ' || '''TEST''';
    FOUT in regel 6:
    .ORA-06550: line 6, column 1:
    PLS-00201: identifier 'V_REVOKE' must be declared
    ORA-06550: line 6, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 7, column 49:
    PLS-00201: identifier 'V_REVOKE' must be declared
    ORA-06550: line 7, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 1:
    PLS-00201: identifier 'NUM' must be declared
    ORA-06550: line 8, column 1:
    PL/SQL: Statement ignoredI guess you need to read up on quoting strings properly and probably also dynamic SQL.
    But:
    WHAT are you trying to do anyway?
    I cannot parse your code at all...so what is your requirement in human language?

  • How to use string functions (substr or ltrim or replace)  in OLAP universe.

    cost element (0COSTELMNT) - 10 CHAR
    Controlling area (0CO_AREA) - 4 CHAR
    [0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value]
    cOST ELEMENT is compounded/prefixed with Controlling Area. I just want to see cost element without conrolling area in the BO report.
    Currenlty BO unierse is build based on bex query. I am able to suppress the compounding object in bex query by chaning controlling area to 'No display'. But still BO Webi report displaying compounded values in the report. (Bex report works as expected)
    eg: Current display in reort.
    controlling area/cost element.
    AB00/2222
    AB00/2223
    AB00/2224
    Wanted like  below:
    2222
    2223
    2224
    I think by using string fucntions (substring, ltrim or  replace etc.), I can get the required result. But I am having issues with syntax. I have used like below.
    substr(0COSTELMNT ; 5 ; 10)
    substr(0COSTELMNT; 5 ; Length(0COSTELMNT)-5)
    substr(0COSTELMNT; Pos(0COSTELMNT;"/")+1;10)
    ltrim(0COSTELMNT,'AB00/')
    What is the syntax for substring/replace functions in OLAP universe. Technical name of cost element in OLAP  universe is [0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value].
    I want to fix this at universe level not at report level as  i am using cost element in filter/variable section of the report. Please provide me syntax for above example.

    Hi,
    In fact SAP BW MDX supports limited string manipulation and only with NAME and UNIQUENAME attributes.
    Here are some samples that you can use in universes:
    MID([0COSTELMNT].currentmember.NAME,1,4)
    LEFT([0COSTELMNT].currentmember.NAME,2)
    RIGHT([0COSTELMNT].currentmember.NAME,3)
    MID([0COSTELMNT].currentmember.UNIQUENAME ,1,4)
    LEFT([0COSTELMNT].currentmember.UNIQUENAME ,2)
    RIGHT([0COSTELMNT].currentmember.UNIQUENAME ,3)
    Didier

  • How to search for upper/lower case using string using JAVA!!!?

    -I am trying to write a program that will examine each letter in the string and count how many time the upper-case letter 'E' appears, and how many times the lower-case letter 'e' appears.
    -I also have to use a JOptionPane.showMessageDialog() to tell the user how many upper and lower case e's were in the string.
    -This will be repeated until the user types the word "Stop". 
    please help if you can
    what i have so far:
    [code]
    public class Project0 {
    public static void main(String[] args) {
      String[] uppercase = {'E'};
      String[] lowercase = {'e'};
      String isOrIsNot, inputWord;
      while (true) {
       // This line asks the user for input by popping out a single window
       // with text input
       inputWord = JOptionPane.showInputDialog(null, "Please enter a sentence");
       if ( inputWord.equals("stop") )
        System.exit(0);
       // if the inputWord is contained within uppercase or
       // lowercase return true
       if (wordIsThere(inputWord, lowercase))
        isOrIsNot = "Number of lower case e's: ";
       if (wordIsThere(inputword, uppercase))
         isOrIsNot = "number of upper case e's: ";
       // Output to a JOptionPane window whether the word is on the list or not
       JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    } //main
    public static boolean wordIsThere(String findMe, String[] theList) {
      for (int i=0; i<theList.length; ++i) {
       if (findMe.equals(theList[i])) return true;
      return false;
    } // wordIsThere
    } // class Lab4Program1
    [/code]

    So what is your question? Do you get any errors? If so, post them. What doesn't work?
    And crossposted: how to search for upper/lower case using string using JAVA!!!?

  • Purpose of using string field

    how to use string field and its purpose...

    STRING: Character string with variable length This data type can be used only in types (data elements, structures, table types) and domains. In the dictionary a length can be specified for this type (at least 256 characters). It can be used in database tables only with restrictions. For a description of them, refer to the documentation of the ABAP statement 'STRING'. In ABAP, this type is implemented as a reference to a storage area of variable size. The system proposes 132 characters as default for the output length. You cannot attach search helps to components of this type.
    SSTRING: Short character string with variable length. In the Dictionary the number of characters can be specified for this type (from 1 to 1333). This data type can be used only in types (data elements, structures, table types) and domains. It can be used in database tables. To do so, refer to the documentation of the ABAP statement 'STRING'. In ABAP, this type is implemented as a reference to a storage area of variable size. String fields of this type can be used in indexes and in the WHERE condition of a SELECT statement. You cannot use them in table keys

  • Set "url" in HTTPService using String variable

    Hi,
    How can I set "url" in HTTPService using String variable (see below). I've tried different formats of string & variable concatenations.
    privtate var myurl:String = "http://localhost/";
        <mx:HTTPService id="post_submit_service"
            url="{myurl+'test.php'}"
            method="POST"
            resultFormat="text"
          result="result_handler(event)"
          fault="fault_handler(event)">
            <mx:request xmlns="">
          </mx:request>
        </mx:HTTPService>
    Thanks,
    ASM

    try following:
    url="{myurl}test.php"

  • SELECT command using String

    Hi
    How can I do to select data using string with range:
    srch_strA = notcr-low.
    srch_strb = notcr-high.
    * Building selection
    IF srch_strA IS NOT INITIAL AND srch_strB IS INITIAL.
      CONCATENATE '%' srch_strA '%' INTO srch_strA.
    *document header
      SELECT bukrs belnr gjahr bktxt bldat xblnr
        FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
        WHERE bukrs EQ p_bukrs AND
              belnr IN belnr AND
              gjahr EQ p_gjahr
              AND xblnr IN xblnr
              AND BKTXT LIKE srch_strA.
    ENDIF.
    IF srch_strA NE '' AND srch_strB NE ''.
      CONCATENATE '*' srch_strA '*' INTO srch_strA.
      CONCATENATE '*' srch_strB '*' INTO srch_strB.
      ti_nc-sign    =  'I'.
      ti_nc-option  =  'BT'.
      ti_nc-low     =  srch_strA.
      ti_nc-high    =  srch_strB.
      append ti_nc. clear ti_nc.
    *document header
      SELECT bukrs belnr gjahr bktxt bldat xblnr
      FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
        WHERE bukrs EQ p_bukrs AND
              belnr IN belnr AND
              gjahr EQ p_gjahr
              AND xblnr IN xblnr
              AND BKTXT IN ti_nc.
      ENDIF.
    Thanks in advance.
    Moderator message - Please use code tags around your code
    Edited by: Rob Burbank on Nov 27, 2009 5:26 PM

    Hi,
    Pls. use this code and check if its working...
    srch_strA = notcr-low.
    srch_strb = notcr-high.
    * Building selection
    IF srch_strA IS NOT INITIAL AND srch_strB IS INITIAL.
      CONCATENATE '%' srch_strA '%' INTO srch_strA.
    *document header
      SELECT bukrs belnr gjahr bktxt bldat xblnr
        FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
        WHERE bukrs EQ p_bukrs AND
              belnr IN belnr AND
              gjahr EQ p_gjahr
              AND xblnr IN xblnr
              AND BKTXT LIKE srch_strA.
    ENDIF.
    IF srch_strA NE '' AND srch_strB NE ''.
      CONCATENATE srch_strA '*' INTO srch_strA.
      CONCATENATE srch_strB '*' INTO srch_strB.
      ti_nc-sign    =  'I'.
      ti_nc-option  =  'BT'.
      ti_nc-low     =  srch_strA.
      ti_nc-high    =  srch_strB.
      append ti_nc. clear ti_nc.
    *document header
      SELECT bukrs belnr gjahr bktxt bldat xblnr
      FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
        WHERE bukrs EQ p_bukrs AND
              belnr IN belnr AND
              gjahr EQ p_gjahr
              AND xblnr IN xblnr
              AND BKTXT IN ti_nc.
      ENDIF.
    Thanks,
    Sid

  • Can I use string[][]  in Webservice

    Hello All,
    Can I use string[][] in my Webservice .Is it supported in Java Webservice.Actually from my Webservice function I return an Java class Object having a field of type string[][].
    I use WSDL2Java tool to make client.When I run the Client I got following error:-
    Dec 17, 2008 10:17:02 AM org.apache.axis.encoding.ser.BeanPropertyTarget set
    SEVERE: Could not convert [Ljava.lang.String; to bean field 'data', type [Ljava.lang.String;
    Dec 17, 2008 10:17:02 AM org.apache.axis.client.Call invoke
    SEVERE: Exception:
    java.lang.IllegalArgumentException: argument type mismatch
            at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
            at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
            at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
            at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
            at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at com.daffodilsw.dak.ca.server.service.DAKWebServiceBindingStub.getData(DAKWebServiceBindingStub.java:318)
            at Client.main(Client.java:22)
    Please help me If anyone knows it
    Thanks in Advance
    Regards..
    Sandeep Verma                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    No idea about the Axis exception but yes you can use String[][] over web services.

  • Why should still we use String though we have StringBuffer?

    I hope StringBuffer is best instead of String. Since StringBuffer grows itselfs when the content increases with out creating new object .
    So now I have a question, Why should still we use String though we have StringBuffer? whether do you any proper reason or situation to go for String ?

    I hope StringBuffer is best instead of String.StrngBuilder is better than StringBuffer in Java 5.0. Both are different from Strings.
    Since
    StringBuffer grows itselfs when the content increases
    with out creating new object .Which is not necessarily a good thing. Strings can be relied upon not to change
    So now I have a question, Why should still we use
    String though we have StringBuffer? whether do you
    any proper reason or situation to go for String ?One reason: you can't intern StringBuffers and thus save on instantiation effort and emory space. You can do that with Strings because they cannot be modified.

  • Why we use string args[]  in void main()

    why we use string in void main in java?

    Because that's roughly how C did it and Java is based on C.
    You can get all the input arguments using JMX, but it's rather complicated and not useful except in obscure cases.
    (I use it to determine if a unit test is running in debug and change the timeouts in my tests so I can step through a test without it stopping at a random point due to a time out)

  • RFC FM using string parameter

    Hi all
       An RFC FM can using string parameter? why i using string pass value ,the destination reciev the value is wrong?
    thanks
    BR
    Chris

    Are you using any std func.. just wanted to chek that there is no internal conversion routine....
    Enjoy SAP.
    Pankaj Singh

  • Using string password

    Hi
    Can someone give me a sample code about how to use string password when encrypting and decrypting data?
    I have made an application that encrypts and decrypts data and it can even save password. Password is not created from string see code:
    KeyGenerator kgen = KeyGenerator.getInstance("Blowfish");
    SecretKey skey = kgen.generateKey();
    byte[] raw = skey.getEncoded();
    SecretKeySpec skeySpec = new SecretKeySpec(raw, "Blowfish");
    Now I want that client can give a password and application use that while encrypting and decrypting.
    I'm using CipherOutputStream and CipherInputStream to save and open data. I'm using Blowfish algorithm.
    Regards
    Juha

    Hi Juha,
    Here is the sample code for encrypting and decrypting a string.
    import java.io.*;
    import java.security.*;
    import javax.crypto.*;
    import sun.misc.*;
    public class SecretWriting{
    public static void main(String args[]) throws Exception{
    if(args.length<2)
    System.out.println("Usage : SecretWriting -e|-d text");
    return;
    Security.addProvider(new com.sun.crypto.provider.SunJCE());
    Key key;
    try{
    ObjectInputStream in=new ObjectInputStream(new FileInputStream("des.key"));
    key=(Key)in.readObject();
    in.close();
    catch(FileNotFoundException fnfe)
    KeyGenerator generator= KeyGenerator.getInstance("DES");
    generator.init(new SecureRandom() );
    key=generator.generateKey();
    ObjectOutputStream out=new ObjectOutputStream(new FileOutputStream("des.key"));
    out.writeObject(key);
    out.close();
    Cipher cipher=Cipher.getInstance("DES/ECB/PKCS5Padding");
    if(args[0].indexOf("e") !=-1)
    cipher.init(Cipher.ENCRYPT_MODE,key);
    String amalgam=args[1];
    for(int i=2;i<args.length;i++)
    amalgam+=" "+args;
    byte[] stringBytes=amalgam.getBytes("UTF8");
    byte[] raw=cipher.doFinal(stringBytes);
    BASE64Encoder encoder = new BASE64Encoder();
    String base64 = encoder.encode(raw);
    System.out.println(base64);
    else if(args[0].indexOf("d")!=-1)
    cipher.init(Cipher.DECRYPT_MODE,key);
    BASE64Decoder decoder = new BASE64Decoder();
    byte[] raw = decoder.decodeBuffer(args[1]);
    byte[] stringBytes = cipher.doFinal(raw);
    String result = new String(stringBytes,"UTF8");
    System.out.println(result);
    I hope this will help you out.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

Maybe you are looking for

  • [SOLVED] Automatically login to screen

    Is there any way that if I log in with a username, it automatically attached to an existing Screen session, or if there isn't any, creates one? Last edited by Lenry (2012-05-10 17:02:02)

  • How to upgrade from OSX 10.5.8 to 10.6 and above?

    Need help upgrading from Mac OS X 10.5.8 to new version like 10.6 and above so I can access the Apple App Store and get other version software updgrades.

  • Curser running to end of list

    Hi Every so often regardless of what app I am running the curser will just scroll to the end of whatever I m looking at. For example in Outlook it will move to the last e-mail in the inbox; in excel it runs to the last cell. No amount of trying can g

  • The HP 4215 icon shows a Yellow exclamation point across it. .

    I am helping my Aunt.  She purchased a new HP Pavilion, Windows 7, to replace her Pavilion HP XP.   Her printer, an HP 4215 that worked with her HP 4215 All in One that worked with her previous Pavilion, is not being recognized by the new HP Pavilion

  • ISDN suddenly won't stay connected

    Router A uses ISDN BRI to connect to Router B. Router B also has a T1 card that connects to our hub. Router A maintains a 24/7 connection. Up until last Friday I had no problems. Suddenly, Router B will receive the call from Router A and then disconn