<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UKoom &#187; Java</title>
	<atom:link href="http://www.ukoom.com/tag/java/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ukoom.com</link>
	<description>Documentum, SharePoint, Alfresco, ECM...</description>
	<lastBuildDate>Tue, 25 Oct 2011 15:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Resin &#8211; java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceRef</title>
		<link>http://www.ukoom.com/resin-java-lang-noclassdeffounderror-javaxxmlwswebserviceref.htm</link>
		<comments>http://www.ukoom.com/resin-java-lang-noclassdeffounderror-javaxxmlwswebserviceref.htm#comments</comments>
		<pubDate>Tue, 10 Aug 2010 03:33:46 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Web MVC]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1100</guid>
		<description><![CDATA[Error -  java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceRef was thrown when running my web application on myeclipse based on Resin 3.1. It is due to a MyEclipse (I am using My Eclipse 5.5.0 GA) defect. http://www.myeclipseide.com/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=21403&#038;start=0&#038;postdays=0&#038;postorder=asc&#038;highlight= Workaround:  add them under the jar files under lib folder in the boot configuration of Resin in MyEclipse. Also there is another MyEclipse [...]]]></description>
			<content:encoded><![CDATA[<p>Error -  java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceRef was thrown when running my web application on myeclipse based on Resin 3.1.</p>
<p>It is due to a MyEclipse (I am using My Eclipse 5.5.0 GA) defect.</p>
<p>http://www.myeclipseide.com/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=21403&#038;start=0&#038;postdays=0&#038;postorder=asc&#038;highlight=</p>
<p>Workaround:  add them  under the jar files under lib folder in the boot configuration of Resin in MyEclipse.</p>
<p>Also there is another MyEclipse &#8216;defect&#8217;. By default, the deploy folder will be used to deploy the Eclipse Project.  But we need to update the resin.conf file to set up the correct value for &#8216;&lt;web-app-deploy path=&#8221;deploy&#8221;/&gt;&#8217; .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/resin-java-lang-noclassdeffounderror-javaxxmlwswebserviceref.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resin ArrayIndexOutOfBoundsException Tiles</title>
		<link>http://www.ukoom.com/resin-arrayindexoutofboundsexception-tiles.htm</link>
		<comments>http://www.ukoom.com/resin-arrayindexoutofboundsexception-tiles.htm#comments</comments>
		<pubDate>Tue, 10 Aug 2010 03:29:32 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Web MVC]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1101</guid>
		<description><![CDATA[There was error thrown when accessing Java web application using Tiles in Resin environment. We came across java.lang.ArrayIndexOutOfBoundsException when using Resin 4.0.8.   The root cause is a defect from Resin 4.0.8.  (http://bugs.caucho.com/view.php?id=4104) . The solution is upgrade the Resin to version 4.0.9]]></description>
			<content:encoded><![CDATA[<p>There was error thrown when accessing Java web application using Tiles in Resin environment.</p>
<p>We came across java.lang.ArrayIndexOutOfBoundsException when using Resin 4.0.8.   The root cause is a defect from Resin 4.0.8.  (http://bugs.caucho.com/view.php?id=4104) . The solution is upgrade the Resin to version 4.0.9</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/resin-arrayindexoutofboundsexception-tiles.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse SVN Error</title>
		<link>http://www.ukoom.com/eclipse-svn-error.htm</link>
		<comments>http://www.ukoom.com/eclipse-svn-error.htm#comments</comments>
		<pubDate>Wed, 05 May 2010 12:41:58 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1069</guid>
		<description><![CDATA[Error message: commit -m &#8220;commit message.&#8221; files RA layer request failed svn: Commit failed (details follow): svn: PROPFIND request failed on &#8216;/repo/path/!svn/vcc/default&#8217; svn: PROPFIND of &#8216;/repo/path/!svn/vcc/default&#8217;: Could not read status line: connection was closed by server. (http://example.com) How to fix? Looking at my SVN configurations I could only find the JavaHL option, no SVNKit available.]]></description>
			<content:encoded><![CDATA[<p>Error message:</p>
<blockquote><p>commit -m &#8220;commit message.&#8221; files<br />
RA layer request failed<br />
svn: Commit failed (details follow):<br />
svn: PROPFIND request failed on &#8216;/repo/path/!svn/vcc/default&#8217;<br />
svn: PROPFIND of &#8216;/repo/path/!svn/vcc/default&#8217;: Could not read status  line: connection was closed by server. (http://example.com)</p>
<p>How to fix?</p>
<p>Looking at my SVN configurations I could only find the JavaHL option, no  SVNKit available.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/eclipse-svn-error.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying JBoss for Enhanced Performance</title>
		<link>http://www.ukoom.com/modifying-jboss-for-enhanced-performance.htm</link>
		<comments>http://www.ukoom.com/modifying-jboss-for-enhanced-performance.htm#comments</comments>
		<pubDate>Fri, 26 Feb 2010 08:37:53 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1048</guid>
		<description><![CDATA[The following procedure is recommended for enhancing the overall IBM Cognos Now! network performance. Note: This procedure requires restarting the JBoss application server. Steps In the \server\default\deploy\jbossweb-tomcat50.sar directory, locate and open the server.xml file. Locate the block listed under the &#60;!&#8211; A HTTP/1.1 Connector on port 8080 &#8211;&#62; heading. Note: The specific port number and [...]]]></description>
			<content:encoded><![CDATA[<p><a name="58508">The following procedure is recommended  for enhancing the overall IBM Cognos Now! network performance.</a></p>
<p><a name="58508"><strong>Note: </strong>This procedure requires restarting  the JBoss application server.</a></p>
<h5><a name="58508">Steps</a></h5>
<ol>
<li><a name="58508">In the  \server\default\deploy\jbossweb-tomcat50.sar directory, locate and open the server.xml file.</a></li>
<li><a name="58508">Locate the block listed under the <strong>&lt;!&#8211; A  HTTP/1.1 Connector on port 8080 &#8211;&gt;</strong> heading.</a>
<p><a name="58508"><strong>Note: </strong>The specific port number and other  settings may vary.</a></p>
<p><a name="58508">This block should look like  this:</a></p>
<pre><a name="58508">&lt;!-- A HTTP/1.1 Connector on port 8080 --&gt;</a></pre>
<pre><a name="58508">&lt;Connector port="8080" address="${jboss.bind.address}"</a></pre>
<pre><a name="58508">maxThreads="400" minSpareThreads="100" maxSpareThreads="75"</a></pre>
<pre><a name="58508">enableLookups="false" redirectPort="8443" acceptCount="100"</a></pre>
<pre><a name="58508">connectionTimeout="20000" disableUploadTimeout="true"/&gt;</a></pre>
</li>
<li><a name="58508">Add the following parameters:</a>
<pre><a name="58508">compression="on" </a></pre>
<pre><a name="58508">socketBuffer="1045576" /&gt;</a></pre>
</li>
<li><a name="58508">Save and close the server.xml file.</a></li>
<li><a name="58508">Restart JBoss.</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/modifying-jboss-for-enhanced-performance.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDesigner Reverse Engineer</title>
		<link>http://www.ukoom.com/powerdesigner-reverse-engineer.htm</link>
		<comments>http://www.ukoom.com/powerdesigner-reverse-engineer.htm#comments</comments>
		<pubDate>Fri, 05 Feb 2010 05:34:06 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1040</guid>
		<description><![CDATA[Get the Physical Data Model 1. Menu Operation File, Reverse Engineer , Database, New Phycial Data Model 2. Connection Add a connect to the target database 3. Choose tables to generate the models Generate the Java Code 1. Menu Operation Tools , Generate Object-Oriented Model, Detail, O/R Mapping, Enable Transformations, Extended Model Definitions, O/R Mapping,      [...]]]></description>
			<content:encoded><![CDATA[<p>Get the Physical Data Model<br />
1. Menu Operation<br />
File, Reverse Engineer , Database, New Phycial Data Model<br />
2. Connection<br />
Add a connect to the target database<br />
3. Choose tables to generate the models</p>
<p>Generate the Java Code<br />
1. Menu Operation<br />
Tools , Generate Object-Oriented Model, Detail, O/R Mapping,<br />
Enable Transformations, Extended Model Definitions, O/R Mapping,      Hibernate</p>
<p>To be continued.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/powerdesigner-reverse-engineer.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GWT Exception &#8211; The style name should be in camelCase</title>
		<link>http://www.ukoom.com/gwt-exception-the-style-name-should-be-in-camelcase.htm</link>
		<comments>http://www.ukoom.com/gwt-exception-the-style-name-should-be-in-camelcase.htm#comments</comments>
		<pubDate>Sat, 12 Dec 2009 06:49:46 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=958</guid>
		<description><![CDATA[When I needed to add or modify a CSS property of an element in Google Web Toolkit (GWT), I’d always do it like this : widget.getElement().setAttribute("style", "align:right;"); However, if there was already any style information for defined for that element, it would be overwritten. You could get the current attributes first and then readd them [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>When I needed to add or modify a CSS property of an element in Google Web Toolkit (GWT), I’d always do it like this :</p>
<div>
<div>
<pre style="font-family: monospace;">widget.<span style="color: #006633;">getElement</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">setAttribute</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"style"</span>, <span style="color: #0000ff;">"align:right;"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p>However, if there was already any style information for defined for that element, it would be overwritten. You could get the current attributes first and then readd them along with your new info but there is a much cleaner way :</p>
<div>
<div>
<pre style="font-family: monospace;">widget.<span style="color: #006633;">getElement</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">getStyle</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">setProperty</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"align"</span>, <span style="color: #0000ff;">"right"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p><strong>Important!</strong> Note that when setting a style property, your need to use <a href="http://en.wikipedia.org/wiki/CamelCase">camel case</a> for the property name.</p>
<div>
<div>
<pre style="font-family: monospace;"><span style="color: #666666; font-style: italic;">//WRONG!</span>
myWidget.<span style="color: #006633;">getElement</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">getStyle</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">setProperty</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"background-color"</span>, <span style="color: #0000ff;">"red"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// RIGHT</span>
myWidget.<span style="color: #006633;">getElement</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">getStyle</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span>.<span style="color: #006633;">setProperty</span><span style="color: #009900;">(</span><span style="color: #0000ff;">"backgroundColor"</span>, <span style="color: #0000ff;">"red"</span><span style="color: #009900;">)</span><span style="color: #339933;">;

This solution is from </span>http://www.francoismaillet.com/blog/?p=68</pre>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/gwt-exception-the-style-name-should-be-in-camelcase.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyEclipse 6.5 GA</title>
		<link>http://www.ukoom.com/myeclipse-6-5-ga.htm</link>
		<comments>http://www.ukoom.com/myeclipse-6-5-ga.htm#comments</comments>
		<pubDate>Thu, 10 Dec 2009 23:54:20 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=955</guid>
		<description><![CDATA[1. Overview MyEcipse 6.5 delivers Java enterprise developers new strategic application lifecycle management (ALM) features. In addition, it includes improvements of MyEclipse&#8217;s industry leading Java EE tools and 1-click Java application technology repository and runtime. MyEclipse&#8217;s new ALM features are founded upon the integration of Maven2 project and build management tools for MyEclipse (Maven4MyEclipse).  Using [...]]]></description>
			<content:encoded><![CDATA[<h2>1. Overview</h2>
<p>MyEcipse 6.5 delivers Java enterprise developers new strategic application  lifecycle management (ALM) features. In addition, it includes improvements of  MyEclipse&#8217;s industry leading Java EE tools and 1-click Java application  technology repository and runtime.</p>
<p>MyEclipse&#8217;s new ALM features are founded upon the integration of Maven2  project and build management tools for MyEclipse (Maven4MyEclipse).  Using  Maven4MyEclipse developers can now develop Maven versions of MyEclipse Java and  Java EE projects. This takes advantage of the full suite of rich MyEclipse  application technology frameworks and tools in their MyEclipse Maven projects.  Additionally, Maven4MyEclipse allows developers to seamlessly leverage their  strategic Maven-based ALM processes from within MyEclipse.</p>
<p>MyEclipse Java EE tools include improved JSF &amp; Facelets visual design and  coding, Spring IDE 2.0 for MyEclipse with Spring Web Flow, Hibernate Tools 3.2  for MyEclipse, JSR 168 Portlet development tools, and new web.xml and JSP tag  library (TLD) editors. Working through a partnership with ICEsoft, MyEclipse  ICEfaces support has been updated to support visual design and deployment of the  latest ICEfaces 1.7.0 JSF Ajax component library.</p>
<p>MyEclipse 1-click Java application technology services include a jar library  repository of all Java EE and related technologies, e.g., Struts, Hibernate, &#8230;  and an custom embedded Tomcat 6 server runtime for rapid testing of Java EE web  applications and examples. The repository has been updated to jar libraries for  Spring 2.5, Hibernate 3.2, Struts 1.3.8, JSR 168 Portlet API and JAX-WS 2.1. The  integrated MyEclipse Tomcat 6 server has been updated with a JAX-WS 2.1 (Metro)  runtime as well as a sample security realm for use by a soon to be release set  of JAX-WS web services security examples.</p>
<p>MyEclipse 6.5 is built upon  the Eclipse 3.3 and Web Tools 2.0.2 platforms, i.e., Europa distro. Backwards  compatibility with MyEclipse versions 6.x &#8211; 4.x projects and features is  maintained to the maximum degree possible.</p>
<h2>2. MyEclipse 6.5 GA Highlights</h2>
<p>This section presents an overview of new and improved MyEclipse 6.5 features.  To learn more about the many MyEclipse features browse the <a href="http://www.blogjava.net/vip01/archive/2008/10/intro/architecture_ME.html">MyEclipse Learning Center</a>.</p>
<ul>
<li>Maven4MyEclipse
<ul>
<li>Maven2 project support is available for
<ul>
<li>MyEclipse Web Projects</li>
<li>MyEclipse EJB Projects</li>
<li>Java Projects</li>
</ul>
</li>
<li>MyEclipse Capabilities Wizards automatically detect and configure Maven jar  dependencies
<ul>
<li>includes Struts, Hibernate, Spring, JSF, ICEfaces, JPA, Portlets, MyEclipse  Reports</li>
</ul>
</li>
<li>Maven Dependency Configuration Wizard</li>
<li>Execute Maven goals from MyEclipse</li>
<li>Automated installation and configuration of local repository
<ul>
<li>includes Sun jars installation</li>
</ul>
</li>
<li>Maven Jar Import Wizard</li>
<li>Easy JDK configuration</li>
<li>Build MyEclipse Maven projects from Maven commandline</li>
</ul>
</li>
</ul>
<ul>
<li>Spring IDE 2.0 for MyEclipse Upgrade
<ul>
<li>Custom implementation of Spring IDE 2.0 for MyEclipse</li>
<li>Spring Java config support</li>
<li>Spring Web Flow 1.0 support with graphical web flow editor</li>
<li>New Spring Explorer, Beans Cross References and and AOP Event views</li>
<li>Project Explorer view integration</li>
<li>AOP analysis and validation</li>
<li>Rename refactoring support for bean Ids, properties and classes</li>
<li>Mylyn integration</li>
<li>Fine grained validation control</li>
</ul>
</li>
</ul>
<ul>
<li>Hibernate Tools 3.3.2 for MyEclipse Upgrade
<ul>
<li>Upgraded to Hibernate Tools 3.2.2CR1</li>
<li>Hibernate Mapping File Editor (hbm)</li>
<li>Hibernate 3.2 support for standalone Hibernate Projects</li>
<li>Hibernate annotations support</li>
<li>MyEclipse advanced Spring-Hibernate tools support Hibernate annotation-based  projects
<ul>
<li>Reverse engineer annotated POJOs from database schema</li>
</ul>
</li>
<li>Updated HQL and Criteria editors to recognize annotated Hibernate  configurations</li>
<li>Named query validation</li>
<li>Java editor content assist support for Hibernate annoations</li>
<li>Easily test and correct HQL and Criteria queries</li>
<li>Updated XML catalog with new hibernate-mapping and hibernate-config DTDs  (version 3.2.5)</li>
</ul>
</li>
</ul>
<ul>
<li>Web Services
<ul>
<li>JAX-WS 2.0 web services framework support
<ul>
<li>Top-down and bottom-up JAX-WS creation wizards</li>
<li>Generate JAX-WS client from local or remote WSDL files</li>
<li>Test JAX-WS web services using Web Service Explorer</li>
</ul>
</li>
<li>JAX-WS web security examples to be available via Examples On-Demand</li>
</ul>
</li>
</ul>
<ul>
<li>JSR 168 Portlet Support
<ul>
<li>Portlet Project Capabilities Wizard</li>
<li>Portlet Creation Wizard using standard templates</li>
<li>Enabled for standard web project deployment to JSR 168 portal</li>
<li>Use MyEclipse visual web design tools to develop  HTML, JSP, Struts and JSF  portlet content</li>
</ul>
</li>
</ul>
<ul>
<li>1-click Java Application Technology Services
<ul>
<li>Jar Library Repository enhancements</li>
</ul>
<ul>
<li>
<ul>
<li>Added libraries for: Hibernate 3.2, Spring 2.5, JAX-WS 2.0 Web Services</li>
</ul>
</li>
<li>MyEclipse Tomcat 6 Server (6.0.11-custom)
<ul>
<li>Includes JAX-WS 2.1 runtime</li>
<li>Example security realm added for upcoming</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>Java Server Faces and Facelet Tools
<ul>
<li>Visual JSF Page Designer</li>
</ul>
<ul>
<li>
<ul>
<li>New code assist and validation for all facelets libraries</li>
</ul>
</li>
</ul>
<ul>
<li>
<ul>
<li>New preview mode renders JSF</li>
</ul>
</li>
<li>faces.xml flow editor
<ul>
<li>New form-based Design mode and configuration wizards</li>
<li>Managed-bean validation and code-assist</li>
</ul>
</li>
<li>ICEfaces 1.7 JSF Ajax UI component library support (use Community Essentials  to install this feature)</li>
<li>JSF Designer Feature Overview document see MyEclipse Learning Center under  Help&gt;Help Contents menu</li>
</ul>
</li>
<li>MyEclipse UML improvements:
<ul>
<li>Convert class diagram to XSD file</li>
</ul>
</li>
</ul>
<p>See <a href="http://www.myeclipseide.com/module-htmlpages-display-pid-361.html">New and  Noteworthy</a> for more details and screenshots.</p>
<hr />
<h2><a name="get_help"></a>3. Getting Help</h2>
<p>MyEclipse provides numerous technical support resources:</p>
<ul>
<li><a href="http://www.myeclipseide.com/PNphpBB2-index-c-9.html">MyEclipse  FAQs</a></li>
<li><a href="http://www.myeclipseide.com/module-htmlpages-display-pid-7.html">MyEclipse  Educational Material</a> (Tutorials, Demos, etc.)</li>
<li><a href="http://www.blogjava.net/vip01/archive/2008/10/15/module-PNphpBB2.html#">MyEclipse Support Forums</a></li>
</ul>
<hr />
<h2><a name="issues"></a>4. Known Issues</h2>
<h3>MyEclipse Installer</h3>
<ul>
<li>Do not install MyEclipse into a folder that has Cyrillic characters in its  path. In some cases MyEclipse will not launch correctly. Additionally the  MyEclipse installer is not able to display the release notes.</li>
</ul>
<h3>Windows Vista Support</h3>
<ul>
<li>See Matisse4Myclipse below for known issues.</li>
</ul>
<h3>Matisse4MyEclipse Known Issues</h3>
<ul>
<li>Matisse4MyEclipse is not part of the primary MyEclipse download.  The  instructions for downloading and installing Matisse4MyEclipse is provided in the  MyEclipse Learning Center found in the Help Infocenter. Launch the Help Info  Center (see Help &gt; Help Contents). Then navigate to the help topic at  &#8220;MyEclipse Learning Center &gt; Swing Development &gt; Getting Started&#8221;.</li>
<li>The Form Editor rendering of modified custom sub-forms and Java beans is not  automatically updated. You must close and reopen the Form Editor for the  rendering to be updated and correctly rendered.</li>
<li>M4ME has not been certified to run on Java SE 6. Therefore if Java 6 is  detected the M4ME Form Editor will only operate in experimental mode. The main  issue is that it can be difficult to open ctx-menus within the Form Editor.</li>
</ul>
<h3><strong>Cross Platform Visual JSP/HTML Designer Known Issues</strong></h3>
<ul>
<li>Editing XHTML documents does not support code-assist of non-HTML tags.</li>
<li>Struts and JSF custom tags do not render styleClass attributes in design  view.</li>
<li>Empty table cells are initially shown collapsed in design view.</li>
<li>Cut/Copy/Paste of tables not fully supported.</li>
</ul>
<h3>AJAX Tools Issues</h3>
<ul>
<li>Remote scripts loaded from Scripts view that are generated by a Servlet that  contains breakpoints, will cause Remote Script to be blank when loaded in  editor.</li>
<li>Visual JSP/HTML Designer-Design View can&#8217;t be made editable when a  JavaScript debugging thread is paused at a breakpoint which is loaded form a  http:// based URL.</li>
<li>The AJAX Web Browser will disabled to all user input when the JavaScript  debugger attached to that browser is stopped at a JavaScript Breakpoint. To  reenable user-input the JavaScript debug thread will have to be resumed.</li>
</ul>
<h3><strong>MyEclipse on Linux Version Known Issues</strong></h3>
<ul>
<li><strong>Linux Internal Web Browser Stability</strong><br />
The Visual HTML Designer on  Linux has exhibited rare stability problems on some systems. Until this matter  is resolved the WYSIWYG design mode has been restricted to a source-only mode of  operation. You can reenable the WYSIYWG design mode for experimental use by  including the commandline flag: -D linux.experimental</li>
<li><strong>Linux Internal Web Browser Compatibility</strong><br />
The Visual HTML Designer  and AJAX tools on linux can sometimes have an incompatibility with the Eclipse  internal web browser.  Please read this <a href="http://www.blogjava.net/vip01/archive/2008/10/15/technical/webbrowser.html">document</a> for more information.</li>
<li><strong>Linux X86_64 Compatibility</strong><br />
The Visual JSP/HTML Designer  and AJAX tools are not available on the 64-bit versions of Eclipse on Linux  X86_64.</li>
<li><strong>Flash plugin unavailable in AJAX Browser</strong><br />
When loading a  webpage that contains a flash plugin, you will be prompted to download a  plugin.  You must press cancel to continue to use the browser as normal.  Also  you will need to resize the window once to fix the blank page because of a  painting problem. As a result the MyEclipse AJAX tutorial does not property  function in the browser.</li>
</ul>
<h3><strong>MyEclipse on Mac OS X Known Issues</strong></h3>
<ul>
<li>Due to MyEclipse instability issues on the Mac platform the current features  are not available: Visual Web Designer, MyEclipse UML and Matisse4MyEclipse. We  are working to resolve the instability issues as quickly as possible.</li>
<li>Application servers and Derby server won&#8217;t be properly stopped if MyEclipse  is shut down using &#8220;Quit&#8221; from the application menu, Dock or keyboard shortcut.  Close all workbench windows for proper shut down. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=194146">Eclipse  Bug#194146</a></li>
<li>The MyEclipse AJAX Tools are available on the Mac platform as experimental  features. Use the <code>-Dmac.experimetal=true </code>command line argument to  enable this experimental feature set.</li>
</ul>
<h3><strong>Hibernate Tools for MyEclipse Known Issues</strong></h3>
<ul>
<li><strong>Bug #3858</strong>, It is possible to use a Hibernate 3.1 DTD that can result  in an error on a Hibernate upgrade. To resolve the ambiguity MyEclipse chose to  use the Hibernate 3.1 DTDs by default in the Hibernate editors.</li>
<li><strong>Locale specification must include country code</strong> When explicitly  launching MyEclipse with the &#8220;-nl &#8221; commandline arguments the locale  must include country code, e.g., -nl en_EN or -nl ja_JP.<br />
Failure to include  the locale country code will result in an error when the HQL Editor is launched.</li>
</ul>
<h3>MyEclipse CSS Editor</h3>
<ul>
<li>If code folding is enable and the properties view is open, typing in the CSS  editor can be very slow.  See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=158877">Eclipse  Bug#158877</a></li>
</ul>
<h3>MyEclipse Tomcat</h3>
<ul>
<li>MyEclipse Tomcat will work with all Java 5 JDKs, however, if you wish to use  a Java 6 JDK to run MyEclipse Tomcat, please use JDK 6 update 4 (1.6.0_04) or  above to avoid JAX-WS API compatibility issues.</li>
</ul>
<h3>MyEclipse JPA</h3>
<ul>
<li>Database VIEWs can not be accessed from the JPA  Project&gt;MyEclipse&gt;Generate Entities&#8230; ctx-menu action. Instead navigate  to the view(s) from the DB Browser and select the Reverse Engineer JPA action</li>
</ul>
<h3>MyEclipse ScreenCapture PRO</h3>
<ul>
<li>The ScreenCapture PRO facility is only available on Windows XP and 2000.  Vista support is planned.</li>
</ul>
<hr />
<h2><a name="discontinued_features"></a>5. Discontinued Features</h2>
<h3><em>Advanced Notice Of Discontinuation of XFire Web Services Framework and  Tools</em></h3>
<p>Genuitec, LLC announces that MyEclipse runtime and developer tool  support for the XFire web services framework will be discontinued. Genuitec will  begin a phase out process beginning with the MyEclipse 7 release on October 1,  2008 and reaching complete discontinuation with the introduction of MyEclipse 8  on October 1, 2009. <a href="http://www.blogjava.net/vip01/archive/com.genuitec.myeclipse.doc/html/overview/technical/xfirenotice_20080616.html">Read  the announcement</a></p>
<hr />
<h2><a name="details"></a>6. Recent Enhancements and Fixes</h2>
<p>Additional details for enhancements and bug fixes for MyEclipse 6.5 GA are  identified in the following summary.</p>
<p><strong>New Enhancements in MyEclipse 6.5 GA</strong></p>
<table border="1">
<tbody>
<tr>
<td width="10%" align="middle"><strong>ID</strong></td>
<td width="65%" align="middle"><strong>Feature</strong></td>
<td width="25%" align="middle"><strong>Notes</strong></td>
</tr>
<tr>
<td align="middle" valign="top">8405</td>
<td valign="top">[UML] Create XML Schemas from Class diagrams</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top"></td>
<td valign="top"><a href="http://www.blogjava.net/vip01/archive/2008/10/15/234418.html#newerfeatures">See Section 2 for additional new  features</a></td>
<td valign="top"></td>
</tr>
</tbody>
</table>
<p><strong>Problems fixed since MyEclipse 6.5 M1<br />
</strong></p>
<table border="1">
<tbody>
<tr>
<td width="10%" align="middle"><strong>ID</strong></td>
<td width="65%" align="middle"><strong>Defects &#8211; FIXED</strong></td>
<td width="25%" align="middle"><strong>Notes</strong></td>
</tr>
<tr>
<td align="middle" valign="top">8172</td>
<td valign="top">Vista UAC warning on ME Startup</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8331</td>
<td valign="top">[Portlets] &#8220;Add Portlet Capabilities&#8221; is enabled for Java  projects</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8338</td>
<td valign="top">[Spring] Properties action in Spring Explorer does not work</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8370</td>
<td valign="top">[Spring] JAR file lock held on lib since upgrading to 6.5M1</td>
<td valign="top">See <a href="http://www.myeclipseide.com/PNphpBB2-viewtopic-t-20837.html">link </a>for  more details.</td>
</tr>
<tr>
<td align="middle" valign="top">8403</td>
<td valign="top">[Spring] Spring 2.X JDBC containers missing commons-pool</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8447</td>
<td valign="top">web.xml editor content assist for welcome-files don&#8217;t produce  valid results</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8489</td>
<td valign="top">Web.xml editor design view shows error with doctype 2.2 DTD</td>
<td valign="top"></td>
</tr>
<tr>
<td align="middle" valign="top">8511</td>
<td valign="top">[portlets] Unable to modify portlet library container</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top"></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/myeclipse-6-5-ga.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why CSV files</title>
		<link>http://www.ukoom.com/why-csv-files.htm</link>
		<comments>http://www.ukoom.com/why-csv-files.htm#comments</comments>
		<pubDate>Sat, 21 Mar 2009 01:51:18 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=591</guid>
		<description><![CDATA[ The first alternative is to work not with actual spreadsheet files but with comma-separated value (CSV) files instead. CSV is a popular file format for exchanging spreadsheets. Any worthy spreadsheet can export to and import from CSV files.   Furthermore, many third-party products that work with spreadsheets also support CSV. For example, most accounting packages [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">The first alternative is to work not with actual spreadsheet files but with comma-separated value (CSV) files instead. CSV is a popular file format for exchanging spreadsheets. Any worthy spreadsheet can export to and import from CSV files.</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">Furthermore, many third-party products that work with spreadsheets also support CSV. For example, most accounting packages can work with CSV files. Although CSV files are not XML, it is simple to convert them into XML files with tools such as XI (see Resources). The TopXML site also includes algorithms for a pure XSLT solution (see Resources).</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">Using CSV files is much more attractive for servers. For one thing, you are no longer limited to certain platforms. Instead, you are broadening the options for your users (who can now work with Lotus 1-2-3 and other spreadsheets as well as many third-party tools that also recognize the CSV format).</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">About the only downside with this solution is that your users must take the extra step of saving their data in CSV. In practice I have found that this is seldom a problem, but your mileage may vary.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/why-csv-files.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>why CSV files</title>
		<link>http://www.ukoom.com/why-csv-files-2.htm</link>
		<comments>http://www.ukoom.com/why-csv-files-2.htm#comments</comments>
		<pubDate>Sat, 21 Mar 2009 01:50:16 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=590</guid>
		<description><![CDATA[  The first alternative is to work not with actual spreadsheet files but with comma-separated value (CSV) files instead. CSV is a popular file format for exchanging spreadsheets. Any worthy spreadsheet can export to and import from CSV files.   Furthermore, many third-party products that work with spreadsheets also support CSV. For example, most accounting [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">The first alternative is to work not with actual spreadsheet files but with comma-separated value (CSV) files instead. CSV is a popular file format for exchanging spreadsheets. Any worthy spreadsheet can export to and import from CSV files.</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">Furthermore, many third-party products that work with spreadsheets also support CSV. For example, most accounting packages can work with CSV files. Although CSV files are not XML, it is simple to convert them into XML files with tools such as XI (see Resources). The TopXML site also includes algorithms for a pure XSLT solution (see Resources).</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">Using CSV files is much more attractive for servers. For one thing, you are no longer limited to certain platforms. Instead, you are broadening the options for your users (who can now work with Lotus 1-2-3 and other spreadsheets as well as many third-party tools that also recognize the CSV format).</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left; mso-layout-grid-align: none;" align="left"><span style="font-size: 10pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt; mso-ansi-language: ZH-CN;">About the only downside with this solution is that your users must take the extra step of saving their data in CSV. In practice I have found that this is seldom a problem, but your mileage may vary.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/why-csv-files-2.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java中replaceAll和split中的反斜杠</title>
		<link>http://www.ukoom.com/java%e4%b8%adreplaceall%e5%92%8csplit%e4%b8%ad%e7%9a%84%e5%8f%8d%e6%96%9c%e6%9d%a0.htm</link>
		<comments>http://www.ukoom.com/java%e4%b8%adreplaceall%e5%92%8csplit%e4%b8%ad%e7%9a%84%e5%8f%8d%e6%96%9c%e6%9d%a0.htm#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:46:14 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=558</guid>
		<description><![CDATA[在Java中处理一些路径相关的问题的时候，如要取出ie浏览器上传文件的文件名，由于ie会把整个文件路径都作为文件名上传，需要用java.lang.String中的replaceAll或者split来处理。如： String temp[] = name.split(&#8220;\\\\&#8221;); if (temp.length &#62; 1) { name = temp[temp.length - 1]; } regex为\\\\，因为在java中\\表示一个\，而regex中\\也表示\，所以当\\\\解析成regex的时候为\\。由于unix中file.separator为斜杠&#8220;/&#8221;，下面这段代码可以处理windows和unix下的所有情况： String temp[] = name.replaceAll(&#8220;\\\\&#8221;,&#8221;/&#8221;).split(&#8220;/&#8221;); if (temp.length &#62; 1) {     name = temp[temp.length - 1]; }]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">在</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">Java</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">中处理一些路径相关的问题的时候，如要取出</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">ie</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">浏览器上传文件的文件名，由于</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">ie</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">会把整个文件路径都作为文件名上传，需要用</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">java.lang.String</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">中的</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">replaceAll</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">或者</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">split</span><span style="font-family: 宋体;"><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';">来处理。如：</span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US"></span></span></p>
<p><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">String temp[] = name.split(&#8220;\\\\&#8221;);<br />
if (temp.length &gt; 1) {<br />
name = temp[temp.length - 1];<br />
}</span></p>
<p><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">regex</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">为</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\\\\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">，因为在</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">java</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">中</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">表示一个</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">，而</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">regex</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">中</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">也表示</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">，所以当</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\\\\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">解析成</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">regex</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">的时候为</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">\\</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">。由于</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">unix</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">中</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">file.separator</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">为斜杠</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">&#8220;/&#8221;</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">，下面这段代码可以处理</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">windows</span><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';"><span style="font-family: 宋体;">和</span></span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">unix</span><span style="font-family: 宋体;"><span style="font-size: 10.5pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman';">下的所有情况：</span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US"></span></span></p>
<p><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;; mso-font-kerning: 1.0pt; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;" lang="EN-US">String temp[] = name.replaceAll(&#8220;\\\\&#8221;,&#8221;/&#8221;).split(&#8220;/&#8221;);<br />
if (temp.length &gt; 1) {<br />
    name = temp[temp.length - 1];<br />
} </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/java%e4%b8%adreplaceall%e5%92%8csplit%e4%b8%ad%e7%9a%84%e5%8f%8d%e6%96%9c%e6%9d%a0.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

