tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Trivial Update of "HowTo" by newacct
Date Fri, 29 Jan 2010 02:40:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "HowTo" page has been changed by newacct.
http://wiki.apache.org/tomcat/HowTo?action=diff&rev1=83&rev2=84

--------------------------------------------------

      //get the root element which is Server Eg: <Server port="8005" shutdown="SHUTDOWN">
  
      Element docEle = configDom.getDocumentElement ();
-     serverPort = new Integer (docEle.getAttribute ("port")).intValue ();
+     serverPort = Integer.parseInt (docEle.getAttribute ("port"));
      serverShutdown = docEle.getAttribute ("shutdown");
    }
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message