Hi,
I'm a new user of JXPath, my working env: JDK5, JXPath 1.2
I have a Nested bean class:
Config.java which has a getter:
CacheConfig getCache() {
return this.cache;
}
The CacheConfig.java which has two getters:
Boolean isEnable() {
return this.enable;
}
String getDir() {
return
Hi,
Hi,
I have the following 2 bean definitions:
Country {
int id;
String name;
}
State {
int id;
String name;
Country country;
}
If I have a *ListState*, how can I get every state that has a
*Country* having id = 2 ?
I tried the following XPath expression using the
Hi Matt,
I appreciate your help.
I have change the is*** to get***, seems this is the easiest way to work
around,
and another benefit from get a string instead of boolean is that i can
define my own TRUE or FALSE.
So, i think that's it.
Thanks,
James.
--- maomaode [EMAIL PROTECTED] wrote
I think the HttpClient essentially use the urlconnection, then i would
ask why httpclient will faster than urlconnection?
I think the benefit of HttpClient is that it manage the connection, that
make your code more neat, you can focus on the business logic...
Hi,
I have a problem when trying to
Hi,
I think it can improve the performance, when we do host lookup it
require extra cost, if we can cache the hostname-ip map, then if there
is same hostname, we can use ip directly, no dns resolve will be required.
I guess it improve the performance.
Why?
Jakarta Commons Users List
On 3/8/07, maomaode [EMAIL PROTECTED] wrote:
Hi,
I think it can improve the performance, when we do host lookup it
require extra cost, if we can cache the hostname-ip map, then if there
is same hostname, we can use ip directly, no dns resolve will be
required.
I guess it improve the performance
Is there a way/config to turn off the persistent connection?
The persistent connection is a default value, right? both in the simple
manager and multi threaded manager, right?
Is that mean that i have to write my own connection manager? i guess
there must have one already
Thanks
mao