RE: Validating hidden inputs, inputs not associated with forms
Has anyone on the list had a requirement to validate (in a general way) fields that are not associated with forms. For example if one has a hidden field called productId which is not a form value but is posted in the request, is there a way using Struts, to validate such fields in a general sort of way for not null and non-printable characters? - Ady ** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ** This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple form inputs of the same name into a bean
Not sure if I follow your question. But if I'm assuming correctly you have a form bean with a property as an array Ex: String[] arrProp; The form bean has the related accessor methods to this property. void setArrProp(String[] arrProp){} The html form can now have multiple inputs with the same name input type=text name=arrProp value= input type=text name=arrProp value= input type=text name=arrProp value= I've found that the getter method returns null for values in the array that do not have defaults, otherwise it's pretty straightforward. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 11:00 To: Struts Users Mailing List Subject: Multiple form inputs of the same name into a bean Hi all, All bean examples I can find are only dealing with single named inputs from a form. Has any one delt with multiple inputs of the same name into a form before?? If any one has, could you answer the following questions: 1) How should the setter method be coded? 2) What is the best Collection to use for the storage? 3) What should the getter method return when invoked? Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ** This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] BeanUtils property copying facility
BeanUtils.copyProperties -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 14:31 To: [EMAIL PROTECTED] Subject: [OT] BeanUtils property copying facility Hi all, Forgive me for posting an off-topic e-mail but i am needing help and as some contributors to Jakarta Commons-BeanUtils read messages from this list i thought you could help me. Is there a feature in commons-beanutils where i can copy properties from a bean to a map instance? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ** This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Validation and Reset
You could remove the validate call in your form and call the form's validate method in your Action depending on whether it was a submit or reset. //validate form ActionErrors errors = new ActionErrors(); errors = yourForm.validate(mapping, request); //put the errors object in request saveErrors(request, errors); //forward to input -Original Message- From: Weber, Jeremy [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 14:27 To: 'Struts Users Mailing List' (E-mail) Subject: Validation and Reset Hello all! It seems when I click my reset button my form is validated. Is there anyway to keep this from happening? I am using html:image and the reset methodology here http://www.husted.com/struts/tips/001.html Jeremy Weber Eventra, Inc. Sr. SCM Specialist 203-882-9988 x2631 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ** This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Serving XML and dynamically generated Flash (jgenerator) content with struts
You can also set the content type in your response object like so: response.setContentType(text\html); response.setContentType(text\pdf); etc... -Original Message- From: Joe Latty [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:34 AM To: Struts Users Mailing List Subject: RE: Serving XML and dynamically generated Flash (jgenerator) content with struts in your action class: PrintWriter out = new PrintWriter (response.getOutputStream()); out.println(yourXmlString); return null; Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:03 AM To: [EMAIL PROTECTED] Subject: RE: Serving XML and dynamically generated Flash (jgenerator) content with struts Thanks for the tip! However, I do not want to transform the xml ... I want a flash-movie to interpret it and transform it into flash-objects (I really just want to return content of type text/xml to the user. Is there something like a xslt no-op? Now, let's say stxx solves my problem related to XML. How do I return other mime-types like pdf for instance? Cheers, Stef. -Original Message- From: Jeff Pennal [mailto:[EMAIL PROTECTED]] Sent: Montag, 30. September 2002 14:09 To: Struts Users Mailing List Subject: Re: Serving XML and dynamically generated Flash (jgenerator) content with struts Hi Stefan, You may want to check out stxx. From your email it seems like it should do everything you need it to do. stxx - http://www.openroad.ca/opencode/stxx [EMAIL PROTECTED] wrote: Hi, there! I'm kinda new to struts and have a few questions regarding it: 1. is it possible to serve xml using struts? We're currently using 'stand-alone servlets to generate xml that'sread by flash movies, but we're seeing a need for things like internationalisation and application flow. Is there a way of avoiding the jsp's in the view layer and use servlets (which are way better suited for xml than jsp's) I've checked the archives, but it's real hard to find any good answers... 2. We're also using jgenerator to generate dynamic flash - only those of you knowing jgenerator should answer to this question - Where in the mvc-model / struts architecture would it make sense to generate flash content? Any advice would be appreciated, Cheers, Stef. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Flash and Struts
Think of your Flash movie as a very basic HTML form/page, this is because you don't have the flexibility to embed any sort of scripting other than Flash's actionscript in the movie as you can in a JSP. But you can get flash movies to interact with servlets, JSP's, ASP's, a DB, whatever - both to post and display data dynamically. However, if you're thinking of embedding struts tags in actionscript in a Flash movie that won't work - so in this case the answer to your question is no. We've used flash movies that use xml data sources to create movie objects/dynamic text at runtime. The web application layer in our case were servlets, but Struts could have done the same thing. As long as you understand that the Flash and servlet layer is separate you'll be okay. Then you'll find out about Macromedia's JRun-Flash Generator server and that's a whole different story. Here's a link that might be useful: http://www.flashkit.com/movies/Scripting/XML/ good luck. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 5:33 PM To: 'Struts Users Mailing List' Subject: RE: Flash and Struts doh! Yeah, okay. It's not a question about using Flash with Struts. Rather, it's a question of using Flash with servlets. And yes, you can, though I don't know how. However, there was this guy named Pierre from France (go figure) on servlet-interest that was/is an expert, though I haven't seen him post anything for months. You can get on servlet-interest at java.sun.com/products/servlet. Was that better? ;-) Mark -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 5:27 PM Well ... one more thing that we can't joke about, now that someone is actually looking to do this! Mark, I assume you'll be volunteering to beta test their application!? :-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:05 PM To: 'Struts Users Mailing List' Subject: RE: Flash and Struts Oh boy! Just when I was getting bored, too! -Original Message- From: Joe Rice [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 5:03 PM I'm new to Flash but have still been charged with researching the possibility of using Flash as the front end of a struts web application that has already been built with JSP's. Has anyone used Flash with Struts, and if so, do you have any suggestions, tutorials etc... you would recommend? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Button pressed
Assign a name to the button object, then in your action class iterate through all the form attributes, the pressed button will show up with it's corresponding name and a suffix of .X or .Y, it's a tedious way to do it especially if you have a large number of form elements, I prefer using JavaScript myself. -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:42 PM To: Struts Users Mailing List Subject: RE: Button pressed Thanks guys, but...as a company policy, we are not suppose to use java script. -Carlos. -Original Message- From: Bharat Nagwani [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:39 PM To: Struts Users Mailing List Subject: Re: Button pressed one more alternative create a hidden field and assign a value to it (edit or continue) using javascript and check that hidden field in request.getParameter... At 02:26 PM 6/3/2002 -0400, you wrote: Hi guys, I'd like to know if there is a way that I will know which button was pressed. I have two buttons in the JSP (Edit and Continue). In my action class I need to know which one of those was pressed. Thanks in advance. Carlos. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HTML taglib Datetime taglib
Try the following: dt:format pattern=MM/dd/yy bean:define id=someProp name=filterForm property=fromDate type=java.lang.String/ /dt:format html:text property=someProp size=10 maxlength=10/ -Original Message- From: Chen, Dean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:11 AM To: '[EMAIL PROTECTED]' Subject: HTML taglib Datetime taglib I'm trying to display a time value in the text box. I'm using the struts html taglib and the jakarta datetime taglib The time value is stored as a long in a form. Hence, dt:format pattern=MM/dd/yy bean:write name=filterForm property=fromDate / /dt:format work. However, I want to do: dt:format pattern=MM/dd/yy html:text name=filterForm property=fromDate size=10 maxlength=10/ /dt:format But this doesn't work. Any work arounds? Thanks Dean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HTML taglib Datetime taglib
dt:format pattern=MM/dd/yy bean:define id=fmDt name=filterForm property=filter.fromDate type=java.lang.Long/ /dt:format html:text name=fmDt size=10 maxlength=10/ Change the html:text tag to: html:text name=fmDt size=10 maxlength=10/ name=fmDt, the new scripting variable that you defined, instead of property. -Original Message- From: Chen, Dean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 12:51 PM To: 'Struts Users Mailing List' Subject: RE: HTML taglib Datetime taglib I tried: dt:format pattern=MM/dd/yy bean:define id=fmDt name=filterForm property=filter.fromDate type=java.lang.Long/ /dt:format The JSP page compiles but instead of a date, it displays Invalid Date However, if I do this: dt:format pattern=MM/dd/yy bean:define id=fmDt name=filterForm property=filter.fromDate type=java.lang.Long/ /dt:format html:text property=fmDt size=10 maxlength=10/ I get an Exception: javax.servlet.ServletException: No getter method for property fmDt of bean org.apache.struts.taglib.html.BEAN Any ideas? Dean -Original Message- From: Ady Das-O'Toole [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 12:07 PM To: Struts Users Mailing List Subject: RE: HTML taglib Datetime taglib Try the following: dt:format pattern=MM/dd/yy bean:define id=someProp name=filterForm property=fromDate type=java.lang.String/ /dt:format html:text property=someProp size=10 maxlength=10/ -Original Message- From: Chen, Dean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:11 AM To: '[EMAIL PROTECTED]' Subject: HTML taglib Datetime taglib I'm trying to display a time value in the text box. I'm using the struts html taglib and the jakarta datetime taglib The time value is stored as a long in a form. Hence, dt:format pattern=MM/dd/yy bean:write name=filterForm property=fromDate / /dt:format work. However, I want to do: dt:format pattern=MM/dd/yy html:text name=filterForm property=fromDate size=10 maxlength=10/ /dt:format But this doesn't work. Any work arounds? Thanks Dean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: How to have two form fields populate the labelProperty of the options tag?
Rick - you could use the label-value method to construct your options list, this way you set up your labels as a combination of both first and last name from their respective bean properties. If you do go this route, do a search for label-value beans in this archive, I remember seeing a thread explaining how to use them from a couple of days ago. Ady -Original Message- From: Rick R [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:52 PM To: [EMAIL PROTECTED] Subject: How to have two form fields populate the labelProperty of the options tag? (first, I apologize for whenver this mail ends up getting there from another address. Our work server is not getting our e-mail out correctly so at some point this message might be duplicated from another address) How do I use the options tag and display a value that is a combination of more than one bean field? For example, below I not only want to display the bean property lastName but also fistName so a sample option tag would look like in the source: OPTION VALUE=4Doe, John/OPTION What I have so far which works fine for just displaying last name is... html:select styleClass=field property=rvpID value=ALL multiple=6 html:options collection=rvpsList property=id labelProperty=lastName/ /html:select How do I change the above so that labelProperty is also lastName and firstName? I've looked through the list archives but can't bring up information related to this. Maybe this isn't even possible and I'll have to use the iterate tag over my collection and then make the option names from bean:write tags ?? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Action without a form.
I guess what you mean by this is that you don't want a form bean associated with your action mapping, but you still want to pass data either through another bean or in the request? Could you clarify? -Original Message- From: Jennings, Christofer J. [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:05 PM To: 'Struts Users Mailing List' Subject: Action without a form. I'd like to have an action without an associated form. Any suggestions? Many thanks, boz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Form Validation Question
You can also set validate=false in your mapping, but call the form's validate method in your Action, that way you get to decide when to turn validation on. Of course there's the additional hit of going to the action every time, in this case. Ady -Original Message- From: Zeltser, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 3:45 PM To: 'Struts Users Mailing List' Subject: RE: Form Validation Question How about creating 2 mappings where second mapping will have validation turned off? Mark. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 3:36 PM To: [EMAIL PROTECTED] Subject: Form Validation Question Hello, I'm using a single Action Mapping for both adding and editing an entity. The mapping looks like this: action path=/editAuthorityLevel type=com.wellsfargo.pcsweb.controller.EditAuthorityLevelAction name=authorityLevelForm input=/editAuthorityLevel.jsp scope=request forward name=success path=/editAuthorityLevel.jsp/ /action The idea is, if we come into ../editAuthorityLevel from a link that says Add Authority Level, then there'll be no form parameters, the authorityLevelId consequently will be null, and the EditAuthorityLevelAction class can do nothing in this case. If, on the other hand, we come into ../editAuthorityLevel from a form that says Edit Authority Level, then the form fields (especially authorityLevelId) will not be null. In this case, if looks up the appropriate bean and populates the form with the corresponding values. This works great until I introduce form validation. If I implement the form's validate() method so that it returns a non-empty ActionErrors if required fields are not filled in, then this happens when coming in from the Add Authority Level link. When this happens, Struts skips the EditAuthorityLevelAction class and tries to go directly to ../editAuthorityLevel.jsp. This is bad because EditAuthorityLevelAction populates several page beans that the JSP needs. The central problem is this: I'm using the ActionForm to shuttle data from the Model side to the View side. In one case, it's used to swizzle data out of the model and show it in the JSP's edit form. In the other case, it's used to collect data from the form and send it (through the Action) back to the model. Only in the latter case do I care about form validation. Yet Struts imposes validation in both directions. How do I get around this? Cheers, David A. Ventimiglia Wells Fargo Private Client Services (415) 396-0414 (work) -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: validation=true
Michael coincidentally enough the last few threads have addressed the same issue. To summarize you could do one of two things: 1. Define 2 identical action-mappings in your struts-config - Call the first one firstVisitSomething...Action and set validate=false Now when a user clicks on the link to go to your page for the first time you go here. - The second action-mapping will have validate=true, and your form action in your jsp will post to this action-mapping 2. The other way to do it is to set validate=false in your action mapping, then call form.validate() in your Action object when the mode is submit or some such. -Original Message- From: Michael J. Godfrey [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:16 PM To: Struts (E-mail) Subject: validation=true Greetings, I am just starting to write a test app to learn struts. I have a validation=true setting in struts-config.xml. When this is true, the validation happens when I OPEN a page. I have validation that is checking for existance of values, etc. For example. A login page with loginID, and password as fields. In the validate() I am checking for loginID == null and loginID.length() 1 etc etc. This is failing right out of the chute because the validation is firing when the darn thing loads. What am I doing wrong? I have read the jakarta FAQ's etc stating that low budget validation SHOULD be done in validate(). -Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]