Clarification request for == on Strings

I've tested the following code, and it prints true.
String s1 = "dog";
String s2 = "dog";
System.out.println(s1 == s2);But the following code prints false.
String s1 = new String("dog");
String s2 = new String("dog");
System.out.println(s1 == s2);And I don't really understand why. I was under the impression that the latter two snippets were the same, leaving the second code snippet redundant, unless a copy of a String needed to be obtained. Could someone please explain to me why the two println statements result in different outputs?
Thanks,
sca.tj

Ignoring the fact that "abc" wasn't mentioned at all, you're close but not quite on.
In the first snippet, s1 is a new string, and so a new String object is created. s2 is created as a reference to the string object "abc".s1 isn't assigned a new String per se. As I understand it, Strings which appear as literals in a Class are added to the String constant pool (see String.intern) when the Class is first initialized (or loaded, not sure which; but either way before the Class can be used). By doing this:
String s1 = "dog";you're just assigning the instance of String that already exists in the constant pool to a reference variable s1. There is no way to say "which line" created the String because the String object predates all of those assignments.
You might be interested in running this:
public class StringInternTest {
   public static void main(String[] args) {
      System.out.println(new String("abc") == new String("abc"));
      System.out.println("abc" == "abc");
      System.out.println(new String("abc").intern() == "abc");
      System.out.println(new String(new char[]{'a', 'b', 'c'}).intern() == "abc");
      System.out.println("abc" == StringInternTestClass.STR);
class StringInternTestClass {
   public static String STR = "abc";
}

Similar Messages

  • Clarification request for CardLayout procedure

    If I have a content pane (cards) which
    uses the card layout - with 5 following panes,
    does my 'initial' view go into
    the parent JPanel :cards
    or do I create a new card to show the first view?
    // pseudocode example
    static JPanel cards; // a panel that uses CardLayout
    cards = new JPanel(new CardLayout());
    // more cards to display function choices
    // populate the panel(s) with later code
    card1 = new JPanel();
    card2 = new JPanel();
    card3 = new JPanel();
    card4 = new JPanel();
    card5 = new JPanel();
    // Selection value will forward to card#
    cards.add(myMenuFunction);
    cards.add(card1, OPTION1);
    cards.add(card2, OPTION2);
    cards.add(card3, OPTION3);
    cards.add(card4, OPTION4);
    cards.add(card5, OPTION5);
    //    or, should my 'first' card be
    card0 = new JPanel();
    cards.add(card0, MAIN_MENU);I have read the sample script
    CardLayoutDemo.java, but I still
    don't quite get this aspect of it.

    I believe that your initial view should be a card. why not try it and see how it works? The best way to learn this stuff is to dive in and get your hands dirty. Good luck.

  • How to drop DNS requests for banned sites?

    Hi
    I'm looking to create a number of signatures to drop DNS requests for banned sites, the only way I've successfully implemented this is creating a signature (string UDP), to drop any UDP/53 traffic containing the regex string of banned site.
    I would like clarification from any experts to verify that this is the only way of acheiving this, I know that there's a Service DNS Engine, but I can't seem to specify the FQDN within this. I'm not sure if I'm missing something?
    Many thanks

    You're on the right track. A custom UDP signature is the only way you'll find the requests you want to drop.
    The DNS engine does not allow for custom string matches.
    - Bob

  • Java.lang.NumberFormatException: For input string: "DESCRIPTION="

    Colleagues,
    eBis 11.5.10.2.
    I'm getting a Warning in the concurrent manager when I submit a programme that has an attached xml template. The warning is stating: -
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2667735 on node BAMBI at 02-SEP-2011 17:32:56.
    Post-processing of request 2667735 failed at 02-SEP-2011 17:32:57 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    When I consult the OPP log in Sysadmin, I can see a not very helpful message: -
    [9/2/11 5:32:57 PM] [UNEXPECTED] [36822:RT2667735] java.lang.NumberFormatException: For input string: "DESCRIPTION="
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.generator.pdf.PDFGenerator.setFont(PDFGenerator.java:629)
         at oracle.apps.xdo.generator.pdf.PDFGenerator.setProperties(PDFGenerator.java:468)
         at oracle.apps.xdo.generator.ProxyGenerator.setProperties(ProxyGenerator.java:1373)
         at oracle.apps.xdo.template.fo.FOHandler.startElement(FOHandler.java:262)
         at oracle.apps.xdo.template.fo.FOHandler.startElement(FOHandler.java:204)
         at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:55)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:320)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1051)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [9/2/11 5:32:57 PM] [36822:RT2667735] Completed post-processing actions for request 2667735.
    Now, this isn't programme specific as it's affecting all our BI Publisher reports. Also the specific report I am working on has the option to email. I'm finding that the emails still work and when I open the attachment, they are displaying in PDF format correctly - even though the concurrent manager completes with the above warning. The above warning doesn't let me view the output in PDF from Oracle Financials.
    Any help would be greatly appreciated.
    Thanks

    Maybe check if Metalink note 764180.1 applies? This appears to be a bug fixed with patch 7669965.

  • A Request for help from me again! Yay!

    hi guys! I was working on implementing threads for the directions of the unit. When i press forward once...nothing happens, but when i press twice it gives me this HUGE list of errors. I dont have a clue. Again, any help would be appreciated.
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class NBoard extends JFrame implements KeyListener{
         int selection = 0;
         boolean selectionmade = false;
         final int WIDTH = 600;
         final int HEIGHT = 600;
         Image Viz =Toolkit.getDefaultToolkit().getImage(JOptionPane.showInputDialog("What character do you want?")+".gif");
         int XC = 50;
         int YC = 50;
         Thread moving = new Move();
         Unit Host = new Unit();
         public NBoard(){
              this.setSize(WIDTH,HEIGHT);
              selection = Integer.parseInt(JOptionPane.showInputDialog("What level design do you want?"));
              if(selection > 0){
                   selectionmade = true;
              addKeyListener(this);
              this.setVisible(true);
         public static void main(String args[]){
              new NBoard();
         public void paint(Graphics g){
              if(selectionmade == true){
                   if(selection == 1){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                   if(selection == 2){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                        for(int ctr = 1; ctr < 6; ++ctr){
                             g.drawRect(WIDTH/4 ,ctr * 100, 20, 20);
                             g.drawRect((WIDTH / 3) * 2 ,ctr * 100, 20, 20);
                   if(selection == 3){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine((WIDTH/2) - 90,0,(WIDTH/2) + 90,HEIGHT);
                   g.drawImage(Viz,XC,YC,this);
              public void keyPressed(KeyEvent e){                              //The Problem Areas
                   if(e.getKeyChar() == 'w'){
                        moving.start();                                             //Starting the thread to move up
                   else if(e.getKeyChar() == 's'){
                        YC = YC + 2;
                   else if(e.getKeyChar() == 'a'){
                        XC = XC - 2;
                   else if(e.getKeyChar() == 'd'){
                        XC = XC + 2;
                   System.out.println(e.getKeyChar());
                   repaint();
         public void keyReleased(KeyEvent e){                              //The Problem Areas
              if(e.getKeyChar() == 'w'){
                   moving.interrupt();                                             //Trying to interrupt the thread once the key is released
         public void keyTyped(KeyEvent e){}
    class Move extends Thread{                                                  //The Problem Areas
         public void run(){                                                       //The Thread
              Unit.XC = Unit.XC - 2;
              try{
                   Thread.sleep(1000);
              catch (Exception e){}
    class Unit{                                                                      //The Object which will hold all of the information about each unit
         static int XC = 30;
         static int YC = 30;
    } By the way, here is my order of events, so you can look forward to seeing requests for help for them (hopefully not).
    Threads: Moving the guy around
    Threads: Making him shoot a ball at the mouses position
    Network: Allow others to join/play game (This is gonna be HUGE probably), while host decides on game type.
    Thanks for all the help so far!

    Where does moving ever get started? Why does Move extend Thread instead of implementing Runnable? (Implementing runnable is preferred and often the correct way to do it and it is in this case)
    But regardless there shoud be a moving.start() somewhere or start of the Thread that has the Runnable target Move.... I don't think I see one. Unless I missed it.
    so...itll work if i change the setup to Runnable?

  • User self request for a RESOURCE

    Hi Experts,
    I am facing the problem to self request the user for AD resource and getting the below error
    Exception java.lang.ClassCastException: java.lang.String was thrown in adapter "ADCS Create User". The Adapter Response was "java.lang.String" .Setting task status... "java.lang.String" does not correspond to a known Response Code. Using "UNKNOWN".
    But in the admin console when user request for the AD resource through AccessPolicy/Resource Profile user can able to provisioning into the AD resource.
    Thanks and regards,
    Santosh

    Hi
    1) In process form i checked the auto populate and autosave option in this scenario administrator can easily provisioned into the AD resource and in the object form m populating organization filed.If i wont do this then i have to edit the the process form and save it, then only user can provisioned in to AD.
    2) If i am not populate the fields then i am not getting the error which was sent in earlier post but showing pending status(without approval) and user not provisioned in AD.
    3) In self request you don't populate the field, it stays null which results in the class cast exception in the provisioning code. as u said , in this case if i want to provision the user through Adminconsole and as well as user self request for Provisioning in AD Resource case a) From adminconsole user provisioned
    b) User self request not working and showing status as pending.
    Thanks and Regards,
    Santosh

  • Request for an sql to scan for a special character from the tables

    Hi Gurus
    request for an sql statement for finding the character (and replace with a single byte character ) which occupy
    multibytes(in a unidata char set database) the database which is yet to be migrated to unidata(multibyte) database
    any kind of help is highly apprciated
    Thanks in advance

    Query below will find all bulti-byte characters in string column:
    select  string_column,
            substr(string_column,column_value,1)
      from  some_table,
            table(
                  cast(
                       multiset(
                                select  level
                                  from  dual
                                  connect by level <= length(string_column)
                       as sys.OdciNumberList
      where lengthb(substr(string_column,column_value,1)) > 1
      order by string_column,
               column_value
    /SY.

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • In-House Product Clarification Request

    I came across this term "In-House Product Clarification Request" recently. However, I am not sure what this is. Can anybody clarify or provide some useful information? All I know now about this is that this is a type of General Notification.
    Thanks in advance,
    APS

    InHouse Product Clarification is a request sent from the Shop Floor to the Engineering and Design to report a problem pertaining to a product. The said product is usually an intermediate product used ina a stage of production and this product is responsible for some problems ocuuring at the shop floor.
    The IHPCR is sent to the Engineering and Design division reporting the issue and seeking a clarification on the desing or behaviour of the said product.
    If there is a fault with the engineering of the product, IHPCR is typically followed by an Engineering Change Request (ECR).

  • Access Request list "Request For" Workflow

    We are looking at ways to use the current access request functionality.
    If we use the default view, pendingreq.aspx, for the Access Requests list, there is a column we are especially interested in "Request For".  This column, a hyperlink, tells you the level at which users are requesting access...and if approved,
    the level at which the SCA is about to give permission.
    If we create a new view on the Access Requests list, this "Request For" column isn't available anymore.
    I've tried to pull the list in to look @ all the available fields via:
    1. Report Builder 
    2. http://mySharePointSite.com/_api/lists/getbytitle('Access%20Requests')/items
    ...and can't find this "Request For" field.
    Any ideas?  Separate or linked list elsewhere?

    Hi Eric,
    I can now see the column via:
    http://mySharePointSite/_api/lists/getbytitle('Access%20Requests')/items?$select=ObjectRequestedTitleDisp
    Looks like from Report Builder {download here} if you select "Show Hidden Fields" @ the top of the modal window when building the query, you'll see the
    "Request_for" ...or this ObjectRequestedTitleDisp field.  Only bummer is it's just the name/title...there is no file extension or anything at the end of the string value.  So, if the name isn't "smart" coded/listed, you won't
    know if it's library, folder, document or site level...there is no ".docx" or ".xlsx" @ the end of the "Request_for" string.  At least, I haven't found a way to decipher that yet.
    In SharePoint Designer, I see the following View code which could lead to helping get to the right place, but I'm not familiar with this code just yet:
    <FieldRef Name="ObjectRequestedTitleDisp"/></ViewFields><RowLimit Paged="TRUE">15</RowLimit>
    <JSLink>accessrequestscontrol.js|mquery.js|callout.js|accessrequestsviewtemplate.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink><Toolbar Type="None"/></View></XmlDefinition>
    </WebPartPages:XsltListViewWebPart>
    Creating a view to enable access request delete functionality
    Open the site in SharePoint designer 2013 and click the “All Files” node
    Notice the right side shows the “Access Requests” list
    Right click the “Access Requests” list and select “Properties”
    On the Views panel click New
    Enter a name for the new view such as "showallitems"
    Click “OK”
    Navigate back to the original “Access Requests and Invitations” page
    Current URL is containing page name of “pendingreq.aspx”
    Change the URL to “showallitems.aspx”:
    The view will have no columns
    Click the ellipses and “Modify This View”
    Add at least the 2 columns with edit options
    Make sure if you select multiple columns (good practice so you can see the full scope of the request such as status and person), use the right side “Position from Left” ordering to have your edit item links located on the left side of the request row
    Click “OK” in upper right of page, and now you can see the view which contains the edit links to allow deletion of the item

  • GOP request for N660GTX Twin Flozr 4S OC

    Hi!
    Here is my request for N660GTX TF 4S OC
    S/N: 602-V287-33SC1309017395
    NVIDIA Firmware Update Utility (Version 5.142)
    Adapter: GeForce GTX 660      (10DE,11C0,1462,2877) H:--:NRM B:01,PCI,D:00,F:00
    The display may go *BLANK* on and off for up to 10 seconds during access to the EEPROM depending on your display adapter and output device.
    Identifying EEPROM...
    EEPROM ID (EF,3012) : WBond W25X20A 2.7-3.6V 2048Kx1S, page
    Reading adapter firmware image...
    IFR Data Size         : 1208 bytes
    IFR CRC32             : C6992BD3
    IFR Image Size        : 1536 bytes
    IFR Image CRC32       : C18A500E
    IFR Subsystem ID      : 1462-2877
    Image Size            : 98816 bytes
    Version               : 80.06.58.00.4C
    ~CRC32                : B9BF10CA
    OEM String            : NVIDIA
    Vendor Name           : NVIDIA Corporation
    Product Name          : GK106 Board - 20300000
    Product Revision      : Chip Rev   
    Device Name(s)        : GeForce GTX 660
    Board ID              : E307
    PCI ID                : 10DE-11C0
    Subsystem ID          : 1462-2877
    Hierarchy ID          : Normal Board
    Chip SKU              : 400-0
    Project               : 2030-0000
    CDP                   : N/A
    Build Date            : 02/27/13
    Modification Date     : 08/05/13
    UEFI Support          : No
    UEFI Version          : N/A
    UEFI Signer(s)        : Unsigned
    Sign-On Message       : GK106 P2030 SKU 0 VGA BIOS
    MSINV287MS.2H0
    Rom is h**ps://www.dropbox.com/s/mmb5ammtdlr1so4/GK106.rom
    Thanks.

    here it is

  • (Request for reporting available) is not coming in Cube

    Hi All,
    I have Cube & DSO.
    I  added fields in DSO & Cube.
    Cube1 has Aggregrates built on it.i added 5 infoobjects on it, Now when i load data from DSO to Cube(Request for reporting available) is not coming up. i cant do reporting on it. can anyone help.
    thanks in advance,
    Kiran.

    Hi ....
    Have you done the Roll up ?
    Since aggregates are there on that cube....until and unless you do the roll up that request will not be available for Reporting...
    Regards,
    Debjani....

  • Error while raising modify request for AD resource

    Hi,
    Getting below error in log, while raising modify request for AD resource, UI shows error while retrieving resource entity details.
    <Oct 19, 2011 2:15:45 AM CDT> <Error> <oracle.iam.requesttemplate.agentry.operations> <BEA-000000> <The "itresource-type" property is missing for attribute reference AD Remote Manager ITResource, which is of type itresource-lookup.>
    I verified the datasets for AD Remote Manager ITResource, comparing with our other environments. It is proper and we are not using AD Remote Manager ITResource anywhere.
    <AttributeReference name="AD Remote Manager ITResource" attr-ref="AD Remote Manager ITResource" type="Long" length="10" widget="itresource-lookup" required="false" available-in-bulk="true"/>
    Please let me know how to resolve this issue.
    Thanks in Advance.
    Edited by: 856226 on Oct 19, 2011 4:55 AM

    Hi,
    I think you should post this in an other forum, somewher in the Fusion stack, maybe Identy Management. This forums is ment for the Oracle database. So please post in a forum underneath https://forums.oracle.com/forums/category.jspa?categoryID=13&start=0
    Herald ten Dam
    http://htendam.wordpress.com

  • Request for Discount , Free Transport before creating PO

    How does the customer will ask for discount or free transportation of goods to be delivered from a vendor .
    I want to send quotations to vendors such that it should contain quantity of items along with request for free goods delivery or some discounts . After getting their quotations back from the vendors is their any way of asking for negotiation of price or free goods delivery ( if this is not asked in RFQ ) .
    I need if this is possible , where we define all this things. Points will be rewarded .
    - David Boon

    Hello David,
    Free shipping and discounts are part of negotiation with the vendor. Once you receive the Quotation from vendor then it will be maintained in "maintain Quotation - ME47".
    Based on the comparition list, you can negotiate with the vendor for Free Shipping and discounts. If vendor is ready to supply the material with free of cost and discount then you can maintain Discount in Quotation again or in purchase order, where as you will not maintain delivery condition in Quotation/Purchase order.
    Hope this helps.
    Regards
    Arif Mansuri

  • Using Convert to handle NULL values for empty Strings ""

    After having had the problem with null values not being returned as nulls and reading some suggestion solution I added a converter to my application.
      <converter>
        <converter-id>NullStringConverter</converter-id>
        <converter-for-class>java.lang.String</converter-for-class>
        <converter-class>com.j2anywhere.addressbookserver.web.NullStringConverter</converter-class>
      </converter>
    ...I then implemented it as follows:
      public String getAsString(FacesContext context, UIComponent component, Object object)
        System.out.println("Converting to String : "+object);
        if (object == null)
          System.out.println("READING null");
          return "NULL";
        else
          if (((String)object).equals(""))
            System.out.println("READING null (Second Check)");
            return null;       
          else
            return object.toString();
      public Object getAsObject(FacesContext context, UIComponent component, String value)
        System.out.println("Converting to Object: "+value+"-"+value.trim().length());
        if (value.trim().length()==0 || value.equals("NULL"))
          System.out.println("WRITING null");
          return null;
        else
          return value.toUpperCase();
    ...I can see that it is converting my values, however the object to which the inputText fields are bound are still set to empty strings ""
    <h:inputText size="50" value="#{addressBookController.contactDetails.information}" converter="NullStringConverter"/>Also when reading the object values any nulls are already converted to empty strings before ariving at the converter. It seems that there is a default converter handling string values.
    How can I resolve this problem as set nulls when the input value is an empty string other then checking every string in my class individually. I would really hate to pollute my object model with empty string tests.
    Thanks in advance
    Edited by: j2anywhere.com on Oct 19, 2008 9:06 AM

    I changed my converter as suggested :
      public Object getAsObject(FacesContext context, UIComponent component, String value)
        if (value == null || value.trim().length() == 0)
          if (component instanceof EditableValueHolder)
            System.out.println("SUBMITTED VALUE SET TO NULL");
            ((EditableValueHolder) component).setSubmittedValue(null);
          else
            System.out.println("COMPONENT :"+component.getClass().getName());
          System.out.println("Converting to Object: " + value + "< to " + null);
          return null;
        System.out.println("Converting to Object: " + value + "< to " + value);
        return value;
      }which produces the following output :
    SUBMITTED VALUE SET TO NULL
    Converting to Object: < to null
    Info : The INFO line however comes from my controller object where I print out the set value :
    package com.simple;
    import java.util.ArrayList;
    import java.util.List;
    public class Controller
      private String information;
      /** Creates a new instance of Controller */
      public Controller()
        System.out.println("Createing Controller");
        information = "Constructed";
      public String process()
        System.out.println("Info : "+getInformation());
        return "processed";
      public String reset()
        setInformation("Re-Constructed");
        System.out.println("Info : "+getInformation());
        return "processed";
      public String setNull()
        setInformation(null);
        System.out.println("Info : "+getInformation());
        return "processed";
      public String getInformation()
        return information;
      public void setInformation(String information)
        this.information = information;
    }I also changes my JSP / JSF page a little. Here is the updated version
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%--
        This file is an entry point for JavaServer Faces application.
    --%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
      </head>
      <body>
        <f:view>
          <h:form>
            <h:inputText id="value" value="#{Controller.information}"/>
            <hr/>
            <h:commandLink action="#{Controller.process}">
              <h:outputText id="clicker" value="Process"/>
            </h:commandLink>             
            <hr/>
            <h:commandLink action="#{Controller.reset}">
              <h:outputText id="reset" value="Reset"/>
            </h:commandLink>             
            <hr/>
            <h:commandLink action="#{Controller.setNull}">
              <h:outputText id="setNull" value="Set Null"/>
            </h:commandLink>             
          </h:form>
        </f:view>
      </body>
    </html>The converter is declared for the String class in the faces configuration file. From the log message is appears to be invoked, however the object is not set to null.
    I tested this with JSF 1.2_04-b20-p03 as well as 1.2_09-b02-FCS.
    any other suggestions what could be causing this.

Maybe you are looking for

  • What is a good billing program that won't delete my charged work!?

    I have been using iRatchet (the same program as MacFreelance under a different name) and it has recently been changing my billed numbers on it's own. I will let the timer go for a certain amount of time and then iRatchet will just lower the price on

  • Cannot install iTunes 8

    I am trying to upgrade from iTunes 7 to iTunes 8 because it would not recognize the iTunes store or allow me to upgrade through the iTunes software. So I completely wiped iTunes 7, but when I try to download iTunes 8, the apple site says 'Thank you f

  • Automatic Append Message Output for PO

    hello all, My scenario is after creating PO completely then go to message output through Messages button on icon row. On message output screen, there's no output item available. Then I must add NEU output type manually. Normally there's output type i

  • How to recover deleted pictures in imessage on ipad

    how to recover deleted photos in message on ipad?

  • R12 Check Printing

    Hello all, We were using custom check printing in 11i. Now I want to do same in R12. Please any body can give some guideline to me. Thanks and Regards, Muthu [email protected]