RE: [OT] WSAD problems with Struts

2004-03-28 Thread Marco Mistroni
Hi, My 2 cents if u r using WS studio, there is a Struts console where for each actionforms u can specify The validation mechanism.. Being tired myself of WSAD and all its issues, I prefer always To modify the struts config manually.. Regards marco -Original Message---

RE: [OT] JTA, JDBC and data persistence

2004-03-28 Thread Freddy Villalba Arias
Hi everybody, Yes, I'm aware that this is the typical scenario for a O/R mapping tool (Hibernate, OJB... you mention it). I've done so in several other projects. The problem in this case is time: there is not enough to have training sessions on any of those tools for the members of the development

RE: Validator doesn't pick up any errors?

2004-03-28 Thread Mark Mandel
Thanks to both you and Niall, That was exactly it - I'd managed to get the two mixed up. That makes life SO much easier :o) Cheers, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 29 March 2004 5:26 PM To: [EMAIL PROTECTED] Subject: SV: Validato

SV: Validator doesn't pick up any errors?

2004-03-28 Thread hermod . opstvedt
Hi Looks like you should be using ValidatorForm - Not ValidatorActionForm With ValidatorForm you name your formdefinitions in validation.xml the same as the formnames in struts-config.xml With ValidatorActionForm you name your formdefinitions validation.xml the same as the action you are calling

Re: Validator doesn't pick up any errors?

2004-03-28 Thread Niall Pemberton
ValidatorActionForm uses the path to find the corresponding validation form rules. So for your "/security/login" action you need to name the form in validation.xml to "security/login" instead of "login". If you use ValidatorForm instead it uses the form name to find the corresponding validation

Validator doesn't pick up any errors?

2004-03-28 Thread Mark Mandel
Hey all, First time posting to the list. Been slowly learning Struts 1.1 over the past few weeks. Trying to get the Validator working, to absolutely no avail. I don't get any Java Errors, and neither do I get any Validator errors. I have In my jsp page. I am using an ActionForm that extends

Struts-upload warning

2004-03-28 Thread Deepak
Hi, Struts-upload gives me the following warning message : One of the getParameter family of methods called after reading from the ServletInputStream. Not merging post parameters." How to avoid this message ? Thanks n regards Deepak

how to initiate an actionform?

2004-03-28 Thread Mu Mike
I m using a htmol:multibox tag, I want the check boxes checked or unchecked every time differently accoriding to the data I have in my jsp file, I m using an action form ,it has a string[] property, But I dont know how to initate the property with the data I have in jsp file. any good suggesti

Re: Yet Another "The requested resource (/ctx/test1.do) is not available." - SOLVED

2004-03-28 Thread Marcolino
I solved the problem, was /*.do changed to: *.do removed the slash '/'. I tried this before, but for some reason (maybe, other misconfiguration), didn't work. cheers Marco Marcolino wrote, On 28-03-2004 23:48: Hi Niall, thank you for your quick response! I have other servlets w

Re: Yet Another "The requested resource (/ctx/test1.do) is not available."

2004-03-28 Thread Marcolino
Hi Niall, thank you for your quick response! I have other servlets working, so the context is running, yeah I checked the manager and is running ok. I wrote to web.xml (action servlet): detail 99 debug 99 Bu

Re: Yet Another "The requested resource (/ctx/test1.do) is not available."

2004-03-28 Thread Niall Pemberton
Has your webapp been started OK - use the Tomcat Manager app and check that "/ctx" has a status of "running" - if it doesn't then something probably failed when it was intializing - check the output/logs for errors. Niall - Original Message - From: "Marcolino" <[EMAIL PROTECTED]> To: <[E

Yet Another "The requested resource (/ctx/test1.do) is not available."

2004-03-28 Thread Marcolino
Hi, I already saw many messages about this topic, but no one fixed the problems my struts test has. I am learning struts, and implemented some classes (see below). When the following URLs are typed, http://localhost:8080/ctx/test1.do http://localhost:8080/ctx/speakerTeste.do ==