this whole discussion is old. it can be found in the archives. the
implementation of the jvm on linux FROM SUN is faulty on this one. cause when
use use a filename like /tmp/mydir/myfile.txt and make a file object of it on
a windows system and get the name you would get the name myfile.txt
Simon Kitching wrote on Friday, June 10, 2005 12:27 AM:
On Thu, 2005-06-09 at 14:12 -0400, Larner, Ross S wrote:
Hello. I am using the Commons Logging and I would like to find out
the way to change the color of the log messages that show up in the
Eclipse window. Previously I was using
Poppe, Troy wrote on Thursday, June 09, 2005 10:27 PM:
It appears that my problem stems not from io or
configuration, but instead from VFS!
I grabbed the latest VFS from SVN, and dug through it a bit,
and I think there might be a bug in
org.apache.commons.vfs.provider.local.LocalFileName.
Even though I love Resin as a web container, I have had to report numerous
bugs in the XML parser. You might have hit yet another one. (Or make sure
you use the latest version of Resin).
You can use another XML parser by setting system properties in the web.xml
or resin.conf like this:
Hi Matt. You have two choices: DHTML or Flash.
If you don't want to go with flash, I suggest you to take a look at the
new DHTML functionality available today. You can do pretty good things
with javascript + CSS.
Take a look at RICO
http://openrico.org/home.page
Here is a collection of AJAX
Hi Jason,
The file system supports Japanese characters. I wrote a small java program
which creating file with file name containing Japanese characters.
In my web application I printed the File name in log and it is showing in
Japanese.
But when I am saving file on Disk using FileItem.write()
ignore...
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate,
Here's a quick patch... (As if one was needed)
Index: src/java/org/apache/commons/vfs/provider/local/LocalFileName.java
===
--- src/java/org/apache/commons/vfs/provider/local/LocalFileName.java
(revision
189963)
+++
Is they're any way to get an Iterator on a collection (in my case a map)
when other trheads are adding datas, and not get
ConcurrentModificationException ?
I've tested some freeze solution to lock put() method during my
iteration, but as it seems to work (?) it is neither standard nor fully
Try FileUpload.setHeaderEncoding(...).
See fileupload javadoc:
http://jakarta.apache.org/commons/fileupload/apidocs/index.html
setHeaderEncoding
public void setHeaderEncoding(java.lang.String encoding)
Specifies the character encoding to be used when reading the headers of
individual
1. You can copy the Map before getting the iterator. (needs some locking
also)
2. In Java 5 is a ConcurrentHashMap.
On Fri, 10 Jun 2005 17:12:05 +0200, Nicolas De Loof
[EMAIL PROTECTED] wrote:
Is they're any way to get an Iterator on a collection (in my case a map)
when other trheads
I would suggest that parsing files, especially data files is going to
have allot of overlap within commons. What about tab, fixed field etc.
This sounds more like its own tool in the long run. Think about the
implications for producing drivers for JDBC or parsers for JAXP etc.
thats based on a
On 6/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Jason,
The file system supports Japanese characters. I wrote a small java program
which creating file with file name containing Japanese characters.
In my web application I printed the File name in log and it is showing in
Japanese.
Hello,
I'm building an UDP based integration service. Each 'client' sends a
query on UDP socket and waits for the response. A thread receives all
responses and dispatch to clients.
My current implementation uses an object that is used as message
CorrelationId.
When sending a message, the
On Fri, 2005-06-10 at 12:26 +0200, Thomas Dudziak wrote:
Hi folks,
I have severe problems with a webapp that uses commons-logging, in
Tomcat 5.5. The webapp contains the newest commons-logging and log4j
1.2.8, and configures logging via a log4j.properties in
WEB-INF/classes. So far, so
Suggested experiment: Put a copy of the tiles DTD on your
drive. Edit the XML file you were digesting to change the
system id (the http url), and replace it with the path to
the file on your system. If the problem goes away then it
means you got a less-than-useful message disguising the real
16 matches
Mail list logo