RE: Connection, pool exhausted error

2007-02-28 Thread Kalra, Ashwani
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

RE: Connection, pool exhausted error

2007-02-28 Thread Kalra, Ashwani
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

RE: Xml utilities

2007-02-22 Thread Kalra, Ashwani
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

RE: why action calling is occuring twice !

2007-02-20 Thread Kalra, Ashwani
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

RE: IS struts 2 websphere compatible?

2007-02-18 Thread Kalra, Ashwani
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

RE: Best practice for external webapp configuration ?

2006-08-30 Thread Kalra, Ashwani
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

[OT] RE: TagExtraInfo ,getVariableInfo

2006-08-23 Thread Kalra, Ashwani
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

RE: request processor

2006-08-23 Thread Kalra, Ashwani
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

RE: Validator

2006-08-11 Thread Kalra, Ashwani
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

RE: To validate password confirmpassword fields

2006-08-11 Thread Kalra, Ashwani
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

RE: To validate password confirmpassword fields

2006-08-11 Thread Kalra, Ashwani
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

RE: Invalidating a session using JAVASCRIPT

2006-03-21 Thread Kalra, Ashwani
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

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
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

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
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

i18n with javascript validations

2006-02-19 Thread Kalra, Ashwani
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

Is Validator 1.2 compatible with Struts 1.1

2006-02-13 Thread Kalra, Ashwani
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

RE: Struts validation.xml size

2005-12-04 Thread Kalra, Ashwani
/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

Struts validation.xml size

2005-11-30 Thread Kalra, Ashwani
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

RE: Strategy for javascript validation with i18n

2005-11-27 Thread Kalra, Ashwani
. -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

Strategy for javascript validation with i18n

2005-11-25 Thread Kalra, Ashwani
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

RE: Struts Basic problem.

2005-08-08 Thread Kalra, Ashwani
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

Validating indexed properties using struts

2005-08-04 Thread Kalra, Ashwani
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

html:errors tag

2005-08-01 Thread Kalra, Ashwani
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

html:errors tag : Please ignore, found the problem

2005-08-01 Thread Kalra, Ashwani
-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

Marking fields having errors

2005-07-04 Thread Kalra, Ashwani
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:

RE: Marking fields having errors in struts 1.1

2005-07-04 Thread Kalra, Ashwani
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

[OT]RE: concurrency problem

2005-04-11 Thread Kalra, Ashwani
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

concurrency problem

2005-04-08 Thread Kalra, Ashwani
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

RE: concurrency problem

2005-04-08 Thread Kalra, Ashwani
/ 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

RE: [OT] RE: concurrency problem

2005-04-08 Thread Kalra, Ashwani
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

RE: Problems using JSTL with struts

2005-03-23 Thread Kalra, Ashwani
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

RE: Re[2]: Locale question

2005-03-22 Thread Kalra, Ashwani
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:

RE: using modules

2005-02-11 Thread Kalra, Ashwani
) 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

struts token to prevent duplicate submission

2005-01-20 Thread Kalra, Ashwani
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

port getting changed on Oralcle 9i AS 9.03

2004-09-14 Thread Kalra, Ashwani
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

detecting a change in field value

2004-07-28 Thread Kalra, Ashwani
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

RE: thnx for book reference :

2004-06-14 Thread Kalra, Ashwani
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

RE:

2004-06-14 Thread Kalra, Ashwani
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

validation for optional fields

2004-06-11 Thread Kalra, Ashwani
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/

RE: validation for optional fields

2004-06-11 Thread Kalra, Ashwani
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

RE: validation for optional fields

2004-06-11 Thread Kalra, Ashwani
, and then invoked the appropriate from the Struts validator, also very easy. Nick |-+- | | Kalra, Ashwani | | | [EMAIL PROTECTED]| | | gemini.com