Where are you closing the connection?
-Original Message-
From: Mon Cab [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 12:23 PM
To: Struts User Group
Subject: Connection, pool exhausted error
I am getting a connection, pool exhausted error, in the action class
below.
The
the connection was unnecessary when using a
connection pool. I was under the impression that one would just close
the context, which would return the connectin to the connection pool.
Is this not the case?
--- Kalra, Ashwani [EMAIL PROTECTED] wrote:
Where are you closing the connection
There are already so many tools to automate this. With these tools you
don't have to write ugly parsing code. Search for xml beans, jaxb,
Castor. They all require schema to work on and then it will generate
some stubs which are specific to your schema. These classes will be just
like javabeans
You got it right. I was facing same problem some time back. It was
happening because of submission of form twice, with Javascript and form
action.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 3:43 AM
To: Struts Users Mailing
Struts 2 comes with distribution of jars that is JDK 1.4 compatible. You
can try that.
/Ashwani
-Original Message-
From: Praveen, Galagali (IE10) [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 17, 2007 2:20 PM
To: user@struts.apache.org
Subject: #Adv#: IS struts 2 websphere
You can set them in your startup class by reading the configuration
file.
System.setProperty()
/Ashwani
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 1:08 PM
To: Struts Users Mailing List
Subject: Best practice for external
If you want to construct some object based on the attributes passed to
the tag and then make this object available on the jsp page in some
scope. JSP container uses this information. The object then is available
as java variable in the scriplet.
Read this
Do you know how to google ?
http://wiki.apache.org/struts/RequestProcessor
-Original Message-
From: Gomathi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 9:52 AM
To: Struts Users Mailing List
Subject: request processor
hai,
what is the use of request processor?
This
They are hard coded in html:errors tag... , you cannot change them. If
these keys are not present in resource bundle, it will be simply
ignored.
/Ashwani
-Original Message-
From: Jean-Marie Pitre [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 2:58 PM
To: Struts Users Mailing
In struts 1.2 you can easily use validwhen.. as mentioned in other
post.
/Ashwani
-Original Message-
From: Rauf Khan [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 3:17 PM
To: Struts Users Mailing List
Subject: Re: To validate password confirmpassword fields
Hi,
Iam
He wants to use javascript validation generated from struts
-Original Message-
From: Li [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 3:23 PM
To: Struts Users Mailing List
Subject: Re: To validate password confirmpassword fields
sorry, my mistakes,
er you can create
I think he doesn't want to catch those events. He wants to invalidate
session on clicking window's close button.
/Ashwani
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 4:08 PM
To: Struts Users Mailing List
Subject: Re: Invalidating a
21, 2006 2:53 AM
To: user@struts.apache.org
Subject: Re: i18n with javascript validations
Kalra, Ashwani wrote:
Hi,
My project is using javascript validations generated through struts
validator. I want to do some currency validations based on the
language/country. Is it possible?
Yes, it's
I got it. I think I can specify it for each formset which are based on
language and country.
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 10:44 AM
To: Struts Users Mailing List
Subject: RE: i18n with javascript validations
Hi
Hi,
My project is using javascript validations generated through struts
validator. I want to do some currency validations based on the
language/country. Is it possible?
__
Regards
Ashwani Kalra
This message contains information that may be privileged or confidential and is
Hi,
I want to use validator 1.2 with struts 1.1. The reason is that
Validator 1.2 provides facility for reducing the size of
struts-validator.xml file for multiple language and countries.
Another question is how do I use non-default locale with struts for
printing error messages
/commons/validator/
Niall
- Original Message -
From: Kalra, Ashwani [EMAIL PROTECTED]
Sent: Wednesday, November 30, 2005 10:08 AM
Hi,
I have at least one validation that is different in each country. Does
it mean that I have to define a formset for each language and Country
combination.
If I
Hi,
I have at least one validation that is different in each country. Does
it mean that I have to define a formset for each language and Country
combination.
If I have to do this way its size and manageability is my concern. Is
there a better way?
__
Thanks
Ashwani Kalra
.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Saturday, November 26, 2005 4:14 AM
To: user@struts.apache.org
Subject: Re: Strategy for javascript validation with i18n
Kalra, Ashwani wrote:
Hi all,
In my multilingual project, I want to use my
Hi all,
In my multilingual project, I want to use my own custom Javascript
validation instead of one provided by strusts 1.1
I have to do this because its not working in many cases with weblogic
workshop, specially the indexed fields.
My main concern is How can I provide a simple java script API
Looks like in your form tag you have given action=lookup and you
should have corresponding action mapping in your config file which is
missing
Cheers
Ashwani
-Original Message-
From: Ayusman dikshit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 9:16 AM
To: Struts Users
Hi,
Can some one give me some sample on how to validate the indexed
properties in Struts 1.1
Thanks
Ashwani
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
Hi,
I have a message defined like this in .properties file
2001={0} is required
I am passing for eg status for the {0}
Errors tag is printing it like this
[status] is required
Why its printing [] in the actual message ?
Thanks
Ashwani
This message contains information that may be
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 6:13 PM
To: user@struts.apache.org
Subject: html:errors tag
Hi,
I have a message defined like this in .properties file
2001={0} is required
I am passing for eg status for the {0}
Errors
Hi,
Does struts has any facility to show fields having validation error in
red color or mark it in some way?
Thanks
Ashwani
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 3:44 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re:
List
Subject: Re: Marking fields having errors
From: Kalra, Ashwani [EMAIL PROTECTED]
I want to highlight the field labels or show some marker text like
'!', Not the error messages
The form element tags (since 1.2.5) have 'errorKey' 'errorStyle'
'errorStyleClass' and 'errorStyleId' attributes
on their own session;
It would seem that there would not be any concurrency control.
I would think that they all need to sync on the same object.
JC
Kalra
I am facing concurrency problem in following scenario.
All our action classes call same stateful session bean . Each action class
obtains the reference from HTTPSession object and calls one and only one
business method.
To prevent the concurrent access to this instance which occurs when user
/ Freelance
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: Kalra, Ashwani [EMAIL PROTECTED]
To: Struts (E-mail) user@struts.apache.org
Sent: Friday, April 08, 2005 7:10 AM
Subject: concurrency problem
I am facing
explain why more than 1 thread can concurrently enter
the critsec.
Wouldn't a better solution be to declare the method as synchronized?
Dennis
Kalra, Ashwani [EMAIL PROTECTED]
04/08/2005 08:53 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users
IMO your EL is not getting evaluated. You can go through this link for more info
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro13.html
Table 12-5 EL Evaluation Settings for JSP Pages
JSP Configuration
Page Directive
isELIgnored
EL Encountered
Unspecified
Unspecified
Evaluated if
Globals contain nothing but public static final constants use in the entire
struts framework. You can download the source code and with help of the good
tool you can find its usage in the code
/ Ashwani
-Original Message-
From: Sergey Livanov [mailto:[EMAIL PROTECTED]
Sent:
)
will not resolve to the other module.
-Bill Siggelkow
Kalra, Ashwani wrote:
hi,
I have configured one module module1 apart from the default module. Can
I
navigate to the jsp files directly in that module or I have to always
make
a switch from default to module1 and vice versa ?
Here is my
Hi,
Can someone point me to the struts token usage any sample code/or
documentation link ?
Regds
Ashwani
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
Hi,
I am facing strange problem on Oracle 9i AS 9.03 version on HP and unix
boxes. When I save or submit the jsp, the port is getting changed. I noticed
it has something to do with HTML:Base or html:html tag. Did any body faces
such problem. Pls let me know
Thanks Regds
Ashwani
This
hi,
I want to detect if the use has changed/edited any filed on the webpage. How
can I do that. Is there anything in struts which I can use ?
Thanks Regds
Ashwani
Our name has changed. Please update your address book to the following format:
[EMAIL PROTECTED].
This message
You will get lot of resources examples and good start at the apache site
Thanks Regds
Ashwani Kalra
-Original Message-
From: gitanjali [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 4:16 PM
To: [EMAIL PROTECTED]
Subject: thnx for book reference :
Thnx Preetam Chris for
check with Computer Bookshop (I) Pvt. Ltd. (Phone:563179 22/23/24/2207
6356/0989)
-Original Message-
From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 6:02 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE:
Hi Group,
I am from
hi,
how can I validate an optional field. ie validate only if there is some
value in it. For example. I want to validate a field which should of type
int.But it should be validated only if use has entered some value in it.
Thanks Regds
Ashwani Kalra
http://www.geocities.com/ashwani_kalra/
I am validating using validator and working on Struts 1.1
-Original Message-
From: Axel Seinsche [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 7:24 PM
To: Struts Users Mailing List
Subject: Re: validation for optional fields
Kalra, Ashwani wrote:
hi,
how can I validate
, and then invoked
the
appropriate from the Struts validator, also very easy.
Nick
|-+-
| | Kalra, Ashwani |
| | [EMAIL PROTECTED]|
| | gemini.com
41 matches
Mail list logo