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
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
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 and
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 L
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 compati
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 webapp
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 me
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
http://java.sun.com/products/jsp/tutoria
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 valid
In struts 1.2 you can easily useas 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 doing valida
They are hard coded in mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 2:58 PM
To: Struts Users Mailing List
Subject: Validator
Hi,
I would like to change the key name of errors.header, errors.footer,
errors.suffix ... but I don't see where they are called.
Have you got any idea ?
Tha
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
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
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
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
___
jakarta-commons/ValidatorVersion120
http://jakarta.apache.org/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
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
Ext:34
.
-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
That's being taken care. I am looking for javascript validations.
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Friday, November 25, 2005 5:33 PM
To: user@struts.apache.org
Subject: Strategy for javascript validation with i18n
Hi all,
In my multili
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 Mail
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 y
-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"
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 pri
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' '
i,
In ur application resources file, u can add this
errors.header=Error List
errors.footer= here color = anycolor Regards Khan On 7/5/05,
Kalra, Ashwani <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> Does struts has any facility to show fields having validation error in
> red color or
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: St
ld think that they all need to sync on the same object.
>
> JC
>
>
>
>
> "Kalra, Ashwani"
>
> <[EMAIL PROTECTED]
ubject
> RE: concurrency problem
>
>
>
>
>
>
> You're synchronizing on an object which is unique for each
> user, which
> might explain why more than 1 thread can concurrently enter
> the critsec.
> Wouldn't a better solution be to declare the method as synchr
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> Yahoo: jmitchtx
> MSN: [EMAIL PROTECTED]
>
>
>
>
> - Original Message -
> From: &q
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
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 2
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]
> Sen
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 v
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 directory structure
rootContext\file1.jsp
rootContext\module1\file2.jsp
Thanks
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 me
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 con
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 Mumbai
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 fo
the field was not blank, and then invoked
the
> appropriate from the Struts validator, also very easy.
>
> Nick
>
>
>
>
> |-+->
> | | "Kalra, Ashwani" |
> | | <[EMAIL PROTECTED]|
>
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 valid
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/
44 matches
Mail list logo