Re: debugging tomcat with eclipse

2005-08-30 Thread Jay Sheth
Thanks a lot. I had to add the source to the path. Regards, Jay On 8/28/05, zheng chengbao <[EMAIL PROTECTED]> wrote: > > i'am using myeclipse,it is very easy to debug > > 2005/8/27, Jay Sheth <[EMAIL PROTECTED]>: > > > > HI, > > > > It

debugging tomcat with eclipse

2005-08-26 Thread Jay Sheth
HI, It would be great if you could give some hints on how to debug tomcat with eclipse. I have tried the following: * Running tomcat with option jpda start and then running a remote java application to debug but doesn't work. * Running the tomcat application with start option. When I run the web

Re: accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
Thanks a lot. Got it. As you said, the naming conventions were followed, but I made a typo in the property attribute. Sorry for the trouble. Jay On 8/16/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Jay Sheth wrote: > > >HI, > >When i do : > > > >

Re: accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
HI, When i do : it says not getter for employeeName in bean rtsummary. 'recurringTaskSummary' is a vector and not a bean. I tried using the attribute type="SpRecurringTaskSummary" but got the same error. I think I am missing the big picture or something basic in logic:iterate. Thank

accessing variables using logic:iterate

2005-08-16 Thread Jay Sheth
Hi, Currently I have a action class which does session.setAttribute("recurringTaskSummary",v_recurringTaskSummary), where v_recurringTaskSummary is a vector of type SpRecurringTaskSummary which has certain variables such as EmployeeName, EmployeeRef etc. I am using logic:iterate as follows:

RE: validate() not called haunts

2005-08-10 Thread Jay Sheth
eed to be verified. INO, are you > > overridding validate or overloading? You may be invoking the superclass > > validate instead of the intended forms' validate. If all else fails, > > place a breakpoint/sys.out in Struts' ActionForm.validate to see if it's > &

validate() finally called !!!!!!!

2005-08-10 Thread Jay Sheth
Hi, Thanks for all the help. Any1 wont believe what a silly mistake. I forgot to add the tag in the jsp page. I found out by when reading doc for the addErrors(). Thanks once again. Jay On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Gareth Evans <[EMAIL PROTECTED]> wrote on 08/10/2

validate() not called haunts

2005-08-10 Thread Jay Sheth
Hi, Thanks for all the help. Now i have got the debugging working. But still the problem remains, validate() not being called. I tried all combinations...I made a simple action and form without any business logic etc...but i dont understand why validate method is being called in only a single form

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread Jay Sheth
t or > localhost if same box. Set a breakpoint in your project's source, and > you'll be all set. > > see the first few links here: http://www.google.com/search?q=xrunjdwp+tomcat > > -ed > > On 8/8/05, Jay Sheth <[EMAIL PROTECTED]> wrote: > > I can

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
gt; MaintainRecurringTasksPageForm in struts-config.xml to also point to > tasks.form.UpdateOverridePageForm. Restart to ensure you change "took" and > try again. Do you hit the validate method now? > > > > > Jay Sheth <[EMAIL PROTECTED]> > 08/08/2005 04:12 PM

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
AIL PROTECTED]> wrote: > Jay Sheth wrote: > > >Just one more thing to tell...I have mapped the form for > >updateoverridepageform in validation.xml but not mapped > >maintain**form. Even if i map that doesnt help... > > > > > What do th

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
are mapped to the correct classes in your > struts-config.xml? > > i.e. check what name="MaintainRecurringTasksPageForm".. map to and see if you haven't made > a mistake there.. > > hth, > Geeta > > > > > Jay Sheth <[EMAIL PROTECTED]

Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
point in your validate and execute methods? Can you send us the > snippets from struts-config.xml for both the classes and tell us which > works and which doesn't? > > Geeta > > > > > Jay Sheth <[EMAIL PROTECTED]> > 08/08/2005 03:31 PM > Please res

validate() not called

2005-08-08 Thread Jay Sheth
Hi, I am trying to use the validate() by extending the org.apache.struts.validator.ValidatorForm class. The problem is that the validate() is being called for one form class which I have created, however it is not being called for another similar form class. There are no errors which compiling etc

Re: retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
ssageResources.getMessageResources( > "ApplicationResources" ).getMessage( > "global.format.date" ) > > I'm not sure how well this works with struts modules? > > Gareth > > > Jay Sheth wrote: > > > Hi, > > I need to read a propert

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command