The Apache Commons is a project of the Apache Software Foundation, formerly under the Jakarta Project. The purpose of the Commons is to provide reusable, open source Java software. The Commons is composed of three parts: proper, sandbox, and dormant.

learn more… | top users | synonyms

0
votes
0answers
4 views

Apache commons can't save configuration to the file

I have the following problem: org.apache.commons.configuration.ConfigurationException: Unable to save to file /etc/dlp/resources/rules.properties When the location of the .properties file was in an ...
0
votes
0answers
15 views

Eclipse Juno Apache.Commons plugin

In Eclipse Indigo I had a Commonclipse plugin that generated hashcode and equals for me based on the Apache.Commons design. I can't find anything similar to this that will work for Juno. Is there ...
0
votes
1answer
35 views

How to post ajax call with multipart/form-data?

I need to upload a file from extjs page, via AJAX call, to the server. I am able to do it with simple HTML page to servlet but using extjs (v4.0.7) i am not getting file in my servlet when i pars ...
2
votes
3answers
39 views

How can I know if my sent email reach the receiver or not java?

I am using this code to send email Email email = new SimpleEmail(); email.setHostName("smtp.googlemail.com"); email.setSmtpPort(465); email.setAuthenticator(new DefaultAuthenticator("username", ...
1
vote
0answers
27 views

CommonsMultipartResolver messing up binary encoding

I'm trying to save a binary file uploaded with a multipart/mixed HTTP request that arrives to my controller as a @RequestPart ByteArrayResource, but when I save the byte array to disk with ...
0
votes
0answers
8 views

Apache commons configuration and nested configs

With Apache commons configuration, I try to use a nested configuration like this : Directory structure : / --- master-config.xml | -- sousConf1 --- master-config1.xml | ...
0
votes
2answers
27 views

Android proxy using sockets

I'm trying to create a proxy in Android and I have to use sockets . I've read many tutorials and came up with following code. Unfortunately browser doesn't seem to get any data and after some time it ...
0
votes
1answer
14 views

Is it safe to use Apache Common IO library in an Android Application?

My android application need do some file/folder copy/delete/read/write operations. I found Apache Common IO library has a lot of handy methods/classes for file operation. But I'm not sure whether it ...
1
vote
3answers
44 views

How to split the values from multihashmap?

How to split the values ? public static void main(String[] args) { // Map<String,Set<String>> dep = new HashMap<String,Set<String>>(); MultiHashMap mp = new ...
1
vote
0answers
23 views

EqualsBuilder using as comparator for attributes

If you know EqualsBuilder from apache commons lang you know that you can use it for implementing equals methods with reflections. It seems to work well but since I am using third party software I ...
0
votes
1answer
25 views

Get sublist till the end with Apache Commons

I want to get the Sublist of a List l with up to pagesize Elements, i did this till now by this: l.subList(first, (l.size() > first + pagesize) ? pagesize : l.size()) Is there in the Apache ...
0
votes
0answers
17 views

Apache Commons Discovery Javadoc References ScopedProperties Class. Where Is That Class?

I hate to have to ask a question like this, but after a considerable amount of time searching Google, the latest java runtime API, and the commons-discovery API I feel I've reached a dead end. My ...
-1
votes
0answers
17 views

Re-sending MultiPartEmail with apache commons mail

Here's my scenario: some email sending bean gets called with a bunch of parameters needed for mail construction. it creates MultiPartEmail and queues it for sending which is done by separate thread ...
0
votes
3answers
72 views

Necessity of Identity Test in equals method

EDIT: Heart of the Matter When would an Identity Test pass, when the rest of a traditional equals method would fail? Is this added just to save the time of doing extra work? Original Post I am ...
1
vote
0answers
49 views

Apache Commons File upload with Spring MVC and Plupload

I am trying to get plupload to work with spring mvc. I know I am returning null and that will not give me any success or error messages on plupload. Questions I have at this point: 1) What is best ...

1 2 3 4 5 46
15 30 50 per page