These are two different caching scenarios we are talking about.
Tomcat connection pooling caches "Connection" objects.. not your domain
objects. However, Hibernate caches business objects (POJOs). You could use
Tomcat's connection pool along with Hibernate's pooling of business objects.
I do beli
There is no Struts 2.7 - there is a Struts 1.2.7, but if thats the version
you're using, I don't understand why you say you exchanged its validator
with 1.1.4 - - the validator with Struts 1.2.7 is validator 1.1.4 already.
The other thing, do you have your Application.properties in the right place
Hi the list!
I'm looking for a taglib that allow to show and hide panels on a web page
dynamically by simply cliking on a link.
Do you know a such taglib?
Thanks for sharing!
Hello all.,
I have main window. From here once you click a "Estimate" link , it opens a
pop-up window. Here I made some estiamtion and I want retain the value of
estimation to already opened main window.
Main window already have Field called estiamte text fiels. While loading it is
0. After
Hi!
Hope you can take a look at the file:
Here is the structure of my web-application
that works only then I use the default properties
file, that is not accessed with a bundle
parameter from the validation.xml file.
The result is just that the error messages
that should be displayed are not dis
Hello Larry,
If a webapp uses, say, tomcat connection pool and JDBC, does it equal
to what you call caching?
On 11/28/05, Larry Meadors <[EMAIL PROTECTED]> wrote:
> I disagree Paul. :-)
>
> I believe that using a tool such as iBATIS can make an application use
> resources more efficiently by conv
I disagree Paul. :-)
I believe that using a tool such as iBATIS can make an application use
resources more efficiently by converting JDBC objects into POJOs, and
caching database access. Even though the initial data request from the
user may be slower (by a couple of ms), future requests for that
On 11/28/05, Kalra, Ashwani <[EMAIL PROTECTED]> wrote:
>
> Yeah, you are right. But javascript generated by struts validator does
> not support indexed fields. Most of our jsps requires that. Also for
> locale specific validation we have to define separate formset for each
> country. Looks like va
You could write your own JS validator. Why not? Then submit your enhancements
back to Struts for
all us to enjoy. :)
__
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
---
>>If a web app uses JDBC only, is the performance slower than Hibernate or
>>iBatis?
Pure JDBC is actually faster because there is no abstraction on top. IBATIS and
Hibernate (I use
both) rely on reflection to populate objects and reflection is 2x-10x slower
than direct Java
access. However, be
Yeah, you are right. But javascript generated by struts validator does
not support indexed fields. Most of our jsps requires that. Also for
locale specific validation we have to define separate formset for each
country. Looks like validation file will become too large and difficult
to maintain.
http://tomcat.apache.org/faq/memory.html#adjust
Eric Plante wrote:
I'm on windows XP and the only catalina files that might serve for
configuration are Catalina.properties and catalina.policy
-
To unsubscribe, e-mail: [EM
Well, I don't think configuration of properties and policy files
helps. But I am not sure. Why not try it out?
/bin/catalina.bat is for java options configuration, you can
find something like JAVA_OPTS, append -XX:MaxPermSize=10m (10m is my
choice in the fly, please replace it with your choice) w
I'm on windows XP and the only catalina files that might serve for
configuration are Catalina.properties and catalina.policy
In catalina.properties, there is those lines:
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trai
Well, since it's a wab appliation, it starts with Tomcat server, not java
but anyway, MaxPermSize doesn't seem to exist
I tried adding in server.xml but it either didn't work or
didn't recognize the property.
--
Well, heap size and each division has its defaul
if your os is linux and like, it is bin/catalina.sh
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, you use tomcat, right?
> There is bin/catalina.bat, where you can specify -XX options.
>
> 2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> > Well, heap size and each division has its default value
Well, you use tomcat, right?
There is bin/catalina.bat, where you can specify -XX options.
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, heap size and each division has its default value. In fact, they
> are specified proper values, such as minimal size, maximal size,
> ratio, etc., accordin
Well, heap size and each division has its default value. In fact, they
are specified proper values, such as minimal size, maximal size,
ratio, etc., according to requirement. Did you try customizing memory
model of Hotspot at application startup? I suppose your problem can be
solved by increase the
It uses hotspot.
I don't append litteral strings but I append substrings of a String object
in my StringBuilders.
By HD memory I meant physical.
If I understand well, there is no solution to my problem, I will always be
limited to the heap size? That really troublesome, it should use the
physica
I find it difficult to deal with ID generator, foreign key and
composite ID of Hibernate.
I wonder if I would fall into the same difficulty again with iBatis.
So I am thinking of going back to using pure JDBC.
I have read some postings here mentioned that they have web sites
supporting 1M clicks pe
2005/11/28, Eric Plante <[EMAIL PROTECTED]>:
> Thanks
>
> 1-How do I know if I use hotspot or not?
$ java -version
> 2-Is StringBuilder using the same heap as String?
"xxx" is regard as permniant object. does your StringBuilder leverages
sb.append("xxx")?
If so, I suppose it is the same to String
Well, It's -XX:MaxPermSize option rather than some -X option; you can
refer to this link for more information:
http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf
Regards,
Jerry
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, I suppose I can offer some tip that may help.
>
> Let me suppose
Thanks
1-How do I know if I use hotspot or not?
2-Is StringBuilder using the same heap as String?
3-What if I can't control the size of the Strings since they come from files
that can be as big as the HD memory?
4-Is there a way to use the Hard Drive memory instead of the stack?
-
Well, I suppose I can offer some tip that may help.
Let me suppose you use Hotspot VM.
Sun's Hotspot VM 's heap space consists of three divisions for young
generation, old generation and perminant generation. Young generation
refers to objects that are created and usually it died in a short
time.
Hi,
I have a struts application(1.1) using Eclipse and Exadel Studio with tomcat
5.5.9 using Jave 5.0
I have to deal with a huge String in memory, about 5-6M and every time I run
my web application, I get java.OutOfMemoryError: java heap space...always at
the same place(I fill a StringBuilder wit
Hello Raghu-
going back to lauries original suggestion in your validation*.xml
following these usual caveats
All comparisons must be enclosed in parens.
Only two items may be joined with and or
or
If both items to be compared are convertable to ints, a numeric
compariso
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
> I found different stack trace than previously posted.Maybe this will be
> more helpfull.
>
> 2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClassDefFoundError
> at
Wendy Smoak napisał(a):
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
Full stack trace in localhost_log is:
2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundError
at
org.jfree.chart.ChartFactory.create
Wendy Smoak napisał(a):
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
Full stack trace in localhost_log is:
2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundError
at
org.jfree.chart.ChartFactory.create
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
> Full stack trace in localhost_log is:
>
> 2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClassDefFoundError
> at
> org.jfree.chart.ChartFactory.createBarChart3D(Cha
Did you put JFreeChart jars into WEB-INF/lib directory of you web app?
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Full stack trace in localhost_log is:
>
> 2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClas
Thanks Martin for responding. But I am afraid we probably are talking of two
different things. Unless I am missing some point somewhere. I am referring
to regular expressions in the context of validator framework. (entries in
validation.xml).
The tags that you provided a reference to, are useful i
On 11/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 11/25/05, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> >
> > On 11/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> 1) Manifest Files
> > None of the maifest files incude "package", "Specification Title" or
> > "Extension Name" - I'
Wendy Smoak napisał(a):
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
I'm using Struts 1.2.7 and JFreeChart 1.0.0-rc1. Right now I can start
my Struts application. When I try to create some chart with ChartFactory
in Struts action, I get exception:
javax.servlet.ServletException: Servle
Raghu-
Have you looked at implementing with conditional struts-logic lessEqual Taglib?
http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html#lessEqual
HTH,
M-
- Original Message -
From: "Raghu Kanchustambham" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Sunday
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
> I'm using Struts 1.2.7 and JFreeChart 1.0.0-rc1. Right now I can start
> my Struts application. When I try to create some chart with ChartFactory
> in Struts action, I get exception:
>
> javax.servlet.ServletException: Servlet execution threw an
Hi
I'm using Struts 1.2.7 and JFreeChart 1.0.0-rc1. Right now I can start
my Struts application. When I try to create some chart with ChartFactory
in Struts action, I get exception:
javax.servlet.ServletException: Servlet execution threw an exception
I've created test class with main() metho
> ...(educationDetails[0].marks le 100)...
Doesnt work... le/ge/gt/lt is not recognized.
I worked around the problem by enforcing through floatRange to be between 35
and 100. Note that floatRange validations work perfectly fine. I wanted to
allow either a "0" (to stand for a 'dont care') and a ra
38 matches
Mail list logo