Re: problem with

2005-04-22 Thread Janarthan Sathiamurthy
Hi, U can do - //do some thing --- Kade Jeevan Kumar <[EMAIL PROTECTED]> wrote: > Hi > > i have > >for(int i=0; i< vec.size(); i++) > { > if(i=5) >{ > // do some thing >} > > } > > how can i use the same code

Re: Cron type jobs in struts

2005-04-12 Thread Janarthan Sathiamurthy
I am sorry.. Was replying to another question. Best Regards, Janarthan S --- Janarthan Sathiamurthy <[EMAIL PROTECTED]> wrote: > http://strutstestcase.sourceforge.net/ > is the answer. > > Best Regards, > Janarthan S > > --- Brian McGovern <[EMAIL PROTECTED]&g

Re: The error from validator

2005-04-12 Thread Janarthan Sathiamurthy
Automated testing is the answer http://strutstestcase.sourceforge.net/ Best Regards, Janrthan S --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > How can I see the errors detected by validator? I do > all the manuals says > and I test the applicattion inputting error and I > don't obta

Re: Cron type jobs in struts

2005-04-12 Thread Janarthan Sathiamurthy
http://strutstestcase.sourceforge.net/ is the answer. Best Regards, Janarthan S --- Brian McGovern <[EMAIL PROTECTED]> wrote: > Ok, This may be off topic cause the answer may not > be in struts but here goes. > I have a need to run nightly jobs that inspect my > data and do certain things based

[OT] Connection time out DB2

2005-04-05 Thread Janarthan Sathiamurthy
Hi Group, My backend database is DB2. I have a junit test to check the time out of a DB2 connection. A snippet of it is as follows - Connection con = DBConnectionManager.getInstance().getConnection(POOL_NAME); try { System.out.println("Thread to sleep.." + new Date()); Thread.slee

[OT] : CLI0601E Invalid statement handle or statement is closed. SQLSTATE=S1000

2005-04-02 Thread Janarthan Sathiamurthy
Hi Group, This has nothing to do with Struts, but hope you might have faced a simillar error. I am working on an supporting an appln coded in late 90's. (applets :( ) The appln uses DB2 as Backend. I am 'sometimes' getting this error on a class coded as a thread. The class uses a Connection obje

Re: Free Struts ebook

2005-03-20 Thread Janarthan Sathiamurthy
Hi Srikanth, Thank you very much ! Cheers ! Janarthan S --- Srikanth Shenoy <[EMAIL PROTECTED]> wrote: > Hi All, > > Back in 2003, I wrote the book "Struts Survival > Guide - Basics to Best > Practices" and subsequently published it. > The book was wildly successful and I sold off all > the cop

Re: Validate with DynaActionForm

2005-01-10 Thread Janarthan Sathiamurthy
Hi Uma, Refer to struts-validation.war that comes with the struts distribution Best Regards, Janarthan S Uma <[EMAIL PROTECTED]> wrote: Hi, How do I validate if a field is entered or not using the DynaActionForm? My HTML form has and buttons. I want to check if the user has entered some text i

Re: Edit Form - populate values from database

2005-01-10 Thread Janarthan Sathiamurthy
Hi, If you have a bean by name myBean in request scope, a property of the bean by name myProperty can be displayed in the jsp page by - Best Regards, Janarthan S Manisha Sathe <[EMAIL PROTECTED]> wrote: I have Add/Edit/Delete for one database table. For Edit what i want is to get the valu

Re: Best tutorial

2005-01-06 Thread Janarthan Sathiamurthy
Hi, I feel struts-documentation.war has all for a good tutorial. Best Regards, Janarthan S Vamsee Kanakala <[EMAIL PROTECTED]> wrote: uma.k wrote: >Where can I get the best tutorial on struts? > > > http://www.reumann.net/struts/main.do -VK

Re: Best tutorial

2005-01-06 Thread Janarthan Sathiamurthy
Hi, I feel struts-documentation.war has all for a good tutorial. Best Regards, Janarthan S Vamsee Kanakala <[EMAIL PROTECTED]> wrote: uma.k wrote: >Where can I get the best tutorial on struts? > > > http://www.reumann.net/struts/main.do -VK

Re: How to implement OR functionality in STRUTS

2005-01-06 Thread Janarthan Sathiamurthy
Hi Guys, Don't reinvent the wheel. I am sure this AND and OR functionality is already done by Niall pemberton. I am unable to get the link for the download though. Regards, Janarthan S Neil Erdwien <[EMAIL PROTECTED]> wrote: I agree that if the "..." is long, or if there are lots of them, then

Re: Attributes Initialization

2005-01-06 Thread Janarthan Sathiamurthy
Hi, In the form bean definition in struts-config.xml, when u r defrining a property, you can use - So whenever the form bean will be used, for the field 'myField', struts will populate its value as 'THIS_VALUE_WILL_BE_DISPLAYED' Best Regards, Janarthan S Richard Yee <[EMAIL PROTECTED]> wr

Re: Install Struts

2005-01-06 Thread Janarthan Sathiamurthy
Hi, To get started, copy the struts-blank.war file(available in the distribution) to the webapps directory of tomcat and start tomcat. Best Regards, Janarthan S Vijaya S <[EMAIL PROTECTED]> wrote: Hello, I downloaded the source version of the Struts software. How do I start the Struts applic

RE: Partial Validations

2005-01-06 Thread Janarthan Sathiamurthy
Hi, Hint - DynaValidatorActionForm Best Regards, Janarthan S Jim Barrows <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 12:20 PM > To: 'Struts Users Mailing List' > Subject: Partial Valid

RE: Struts for beginners

2004-12-26 Thread Janarthan Sathiamurthy
Hi, I would recommend Mastering Jakarta Struts book by Craig. The documentation that comes with Struts distribution is also very helpful. Best Regards, Janarthan S Ruben Cepeda <[EMAIL PROTECTED]> wrote: Hey, When I was getting started with Struts I found "Struts In Action" by Ted N. Husted,

RE: need help securing my login page

2004-09-20 Thread Janarthan Sathiamurthy
Hi, Take a look at http://sslext.sourceforge.net/ Regards, Janarthan S -Original Message- From: Janice [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 6:38 AM To: [EMAIL PROTECTED] Subject: need help securing my login page I need to secure my login page only, just to preven

Offtopic: Best book J2EE Design patterns

2004-09-09 Thread Janarthan Sathiamurthy
Hi, Can any one suggest a good book for Design patterns in J2EE? Regards, Janarthan S

IF THEN ELSE

2004-08-10 Thread Janarthan Sathiamurthy
Hi All, I am planning to use the IF THEN ELSE tag contributed by Niall to Struts. I am testing it out for a scenario like the one below - If("Niall".equals(user.getUserName())) { System.out.println("User name - Niall"); // Condition 1 } elseif("Janarthan".equals(user.get

RE: How to change tiles def at runtime?

2004-06-29 Thread Janarthan Sathiamurthy
Hi, If found this- In struts-config.xml specify for ur web application - I was able to reload my definitions with these. Hope it helps. Regards, Janarthan S -Original Message- From: Stunger, Kevin J [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30,

RE:

2004-06-14 Thread Janarthan Sathiamurthy
Hi Group, I am from Mumbai/India. Looking to buy 'Struts in Action' book for a long time. But could not get it. Does anyone have address from where i can get it ? Regards, Janarthan S -Original Message- From: Shilpa Vaidya [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:25 PM To

Tiles - Moving from jsps to tiles definitions

2004-06-09 Thread Janarthan Sathiamurthy
Hi, I am using tiles in Struts1.1. Earlier i used to write all the definitions in a jsp file like - String contentURL = .. // Is calculated using some logic in this page itself My Page Now i am planning to move to definitions. How do i h

RE: how to send the 'index' to javascript function

2004-05-28 Thread Janarthan Sathiamurthy
> > > > > > > What happens if you try this in your page? > > <%= "JSP Works!!!" %> > > > On 28 May 2004, at 11:05, [EMAIL PROTECTED] wrote: > > > > > Hi Janarthanan, > > > >         I tried that, Im getting &

RE: html:options tag with ArrayList of Strings

2004-05-28 Thread Janarthan Sathiamurthy
Yes, U can do that -Original Message- From: Nestor Boscan [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 10:23 AM To: [EMAIL PROTECTED] Subject: html:options tag with ArrayList of Strings Hi I'm working with the html:select and html:options tag and wanted to know if I can create a

RE: how to send the 'index' to javascript function

2004-05-28 Thread Janarthan Sathiamurthy
try this - Regards, Janarthan S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 9:55 AM To: Struts Users Mailing List Subject: how to send the 'index' to javascript function Hi, This is my jsp.

RE: From bean into "for" loop

2004-05-24 Thread Janarthan Sathiamurthy
Andy, What error are u getting ? Regards, Janarthan S -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 9:20 AM To: [EMAIL PROTECTED] Subject: From bean into "for" loop Hi all, I am trying to do something as simple as writing a FOR loop with some

RE: ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
#reload Regards, Geeta > -Original Message- > From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 5:54 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: ApplicationResource.properties reload > > > Gurus, > > I a

ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
Gurus, I am using Struts1.1. Is there any custom code(already available) that can reload the ApplicationResource.properties file without a redeploy/restart of the application ? Regards, Janarthan S - To unsubscribe, e-mail:

RE: how to send "idx" with tag

2004-04-19 Thread Janarthan Sathiamurthy
Hi, Use idx.intValue() Regards, Janarthan S -Original Message- From: ganesh g [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: how to send "idx" with tag Hi sir, Here is a problem with: .

RE: Tiles - Specify Error page ?

2004-04-14 Thread Janarthan Sathiamurthy
D] Subject: SV: Tiles - Specify Error page ? Hi On each and every .jsp file Hermod -Opprinnelig melding- Fra: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sendt: 14. april 2004 08:16 Til: Struts Users Mailing List Emne: Tiles - Specify Error page ? Hi, I am using Tiles that comes

Tiles - Specify Error page ?

2004-04-13 Thread Janarthan Sathiamurthy
Hi, I am using Tiles that comes bundled with struts1.1. I have a main template file for my jsp's. All my jsp's have a left navigation, a header section, a footer section and a content section. Given a jsp page, I have a main tiles file in which i specify these settings. I want to specify an error