Syntax

2005-07-25 Thread Vijay K Anand
Hi What is wrong in the below code ? Eclipse is making noise...but code runs fine... styleId="<%= "c"+(String)CoreID %>" /> Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

DB Connection

2005-07-25 Thread Vijay K Anand
hi How to share the saem db connection across user requests..without exhausitn the connection pool. regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Issue - Database Architecture

2005-07-22 Thread Vijay K Anand
Hi All I get error : "java.sql.SQLException: Closed Connection: next " when number of concurrent requests is more public class PortfolioMgmtAction extends Action{ private Connection con; public ActionForward execute(..){ this.con = dao.getConnection(); } } public class DAO { privat

OT-FILE UPLOAD

2005-07-21 Thread Vijay K Anand
Hi All How to access value of T1 and also the uploaded file in JSP? Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

TextArea

2005-07-20 Thread Vijay K Anand
Hi Guys How to control char maxlength in ? Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Checkbox

2005-07-20 Thread Vijay K Anand
Hi All How to make checkbox checked in ? Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts how initialises the value

2005-07-20 Thread Vijay K Anand
It is no way different to struts Primitive types are always initilxed to its defaults... senthil Kumar wrote: Hi all., long productId; long productId = 0; Sting abc; Sting abc = null In struts, how the above satements are differ?. is it compulsary to initialise the value?. What are all

JSP - Constant

2005-07-20 Thread Vijay K Anand
Hi All Please help me to figure out what is wrong in this... value="<%=com.freescale.npidashboard.common.Constants.FormState.CREATE %>"> value=" Create " styleClass="NPIButton"/> rg Vijay

Generic template

2005-07-13 Thread Vijay K Anand
Hi All Any blueprint how can we write genric code for manipulating data in a table , Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: form elements

2005-07-12 Thread Vijay K Anand
syed abrar wrote: Hello all I have a problem .I have a form containing multiple elements like check boxes,radio buttons,text boxes.The type of element is not fixed and is picked from the the database and displayed in the form. I mananged to display all the form elements but

Re: Propertirs file

2005-07-11 Thread Vijay K Anand
Hi i need to load LDAP server name , port , username from prop file . how this will help us? Thanks replying to the mail Wendy Smoak wrote: From: "Vijay K Anand" <[EMAIL PROTECTED]> I have a common class which gives value for keys in the properties file. How do i lo

Propertirs file

2005-07-11 Thread Vijay K Anand
Hi All I have a common class which gives value for keys in the properties file. How do i load / read values from properties file? Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Database Connection

2005-07-08 Thread Vijay K Anand
Hi All I have a helper class which does creating connection and exception handling for that . How do i create connection like DataSource dataSource = (DataSource)context.getAttribute(Action.DATA_SOURCE_KEY) ; objConnection = datasource.getConnection(); it says error at context and Ac

Getter/Setter

2005-07-07 Thread Vijay K Anand
hi All Any idea how to write setter / getter methods for multiple form elements ? Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

logic iterate

2005-07-07 Thread Vijay K Anand
Hi All I have a problem in logic iterate .. I would like to dispaly checkbox in each row of the iteration like instead of Any help brothers?? Here goes the code      name="user"/>

Re: How to access ACL

2005-07-07 Thread Vijay K Anand
Senthilrajan VS wrote: Hi, I am using ACL authentication, how can I get the user name from the ACL inside my action class Regards, Senthil request.getRemoteuser() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: javascript

2005-07-06 Thread Vijay K Anand
Thanks buddy , it is great... Jeff Beal wrote: Use the action attribute instead of the page attribute in your tag. See http://struts.apache.org/userGuide/struts-html.html#rewrite for the tag documentation. -- Jeff On 7/6/05, Vijay K Anand <[EMAIL PROTECTED]> wrote: Hi All I us

Re: javascript

2005-07-06 Thread Vijay K Anand
Class="NPIButton" onclick="<%=create_portfolio %>" /> html code generated is onclick="javascript:location.href='/portfoliomgmt'" class="NPIButton"> but the problem is .do missing ... Any help brotheres? Bob Arnott

javascript

2005-07-06 Thread Vijay K Anand
Hi This code is not actually translating onclick="javascript:location.href=\'page='/portfoliomgmt'/>\'" /> how do i do it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: AW: log4j log

2005-07-04 Thread Vijay K Anand
file is @ /logs directory but it is empty [EMAIL PROTECTED] wrote: Its the filename, but where is it stored on your harddisk? With Win2003 and Tomcat I found my log-file in C:\WINNT\SYSTEM32! Peter -Ursprüngliche Nachricht- Von: Vijay K Anand [mailto:[EMAIL PROTECTED] Gesendet

Re: log4j log

2005-07-04 Thread Vijay K Anand
Hi This is the file name i have specified below --> npi_log Vijay K Anand wrote: Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4j.appender

Re: SV: log4j log

2005-07-04 Thread Vijay K Anand
Hi Thanks for replying if i say so , it logs everything that is happening behind I dont want anything except i say explictly by logger.debug("test"); [EMAIL PROTECTED] wrote: Hi log4j.rootLogger=ERROR, A2 <<<--- Change this one to Debug, A2 -Opprinnelig melding-

log4j log

2005-07-04 Thread Vijay K Anand
Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4j.appender.A2.append=true log4j.appender.A2.layout=org.apache.log4j.PatternLayout log4j.appender.A2.layo

Re: dynamic parameter

2005-07-04 Thread Vijay K Anand
Thanks indeedb basak , any other workaround . Afraid it is not helping my problem [EMAIL PROTECTED] wrote: If the problem is with the quotes, use " flush="true" /> vijay, size is of no help!! Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: ht

Re: arraylist problem.

2005-07-04 Thread Vijay K Anand
[EMAIL PROTECTED] wrote: I have a condition where I have an arraylist(must) containing a bean and i have to display it in my jsp. I cannot use logic:iterate since if the arraylist does not contain the bean, the controls are not displayed at all. (I have approx 40 controls to be displayed ).

Re: arraylist problem.

2005-07-04 Thread Vijay K Anand
Hi You can use size property to check the length of the Arraylist . [EMAIL PROTECTED] wrote: I have a condition where I have an arraylist(must) containing a bean and i have to display it in my jsp. I cannot use logic:iterate since if the arraylist does not contain the bean, the controls are

dynamic parameter

2005-07-04 Thread Vijay K Anand
Hi All I want to have attribute page be dynamically loaded from bean:message like " flush="true" /> instead of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]