Re: Manually call strust validation

2002-11-03 Thread V. Cekvenich
validate() Mr Alireza Fattahi wrote: Hi, I am using validitor feature. I have turn the validation OFF on struts_config.xml. How can I manually do the validation on my action class by calling validitor objects. Thanks. P.S: I want validate my form, not before the action is executed but after I

Re: Manually call strust validation

2002-11-03 Thread Mr Alireza Fattahi
Thanks, but i get Nullpointer exception, Can you please help me with more details. This is my code: ValidatorActionForm vl = new ValidatorActionForm(); ActionErrors err = new ActionErrors(); err = vl.validate ( mapping, request ); Is above correct should my action calss extend

Re: Manually call strust validation

2002-11-03 Thread Mr Alireza Fattahi
I got the answer! Here is code DynaActionForm dy = (DynaActionForm) form; ActionErrors err = new ActionErrors(); err = dy.validate(mapping,request) __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and

Struts you have an E-Card from .

2002-11-03 Thread Sudhir Kumar Singh
Greetings! has sent you an E-Card -- a virtual postcard from FriendGreetings.com. You can pickup your E-Card at FriendGreetings.com by clicking on the link below. http://www.friend-cards.net/pickup/pickup.html?code=Strutsid=0311023 Message:

Re: Unable to compile class (The major.minor version '48.0' is too recent for this tool to understand)

2002-11-03 Thread vze49jqg
This is a class 'NOT FOUND' Error. check your classpath settings. Try getting stable version again. Regards Gopal - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 02, 2002 9:57 AM Subject: Unable to compile class (The major.minor version

Re: [OT] static vs. application scope

2002-11-03 Thread Steve Gass
I use a singleton, too, but don't invoke it with anything - it's instantiated when it is first accessed by any method. That way it doesn't have anything to do with Struts or the container. On Sunday 03 November 2002 02:02 am, Andrew Hill wrote: Another good way of initialising is to use the

Re: WebLogic/Struts/JSP performance woes...

2002-11-03 Thread Daniel Jaffa
Have you tried looking at the Query that you using. 1760 rows from a database may some time to transfer and query up. You can sometimes shave seconds from a query by just changing the order of the FROM clause and WHERE conditions. Since you said that only sometimes that the users need to see all

RE: Nested properties of form bean not being updated !

2002-11-03 Thread Parnell, Giles (AU - Sydney)
Hi Sri Thanks for getting back to me. I've included 1. A portion of my struts config: - My form bean definition - And the action mapping 2. My action class 3. My JSPs, which are comprised of - - My top level jsp... that contains the form bean definition, and the

DynaValidatorForm and Multi-page Forms

2002-11-03 Thread Seth Milder
Hi, I am trying to create a form that spans multiple pages, but the validation does not seem to work with DynaValidatorForm unless I explicitly set the page number in the action class like so: int foof = -1; try{ foof = Integer.parseInt(request.getParameter(page));

What gives with file upload when it exceeds maxFileSize?

2002-11-03 Thread Alan P Sexton
I have seen a number of questions around this topic in the archives but no clear answers: First everything works fine when I upload a file below the limit (set in the controller element in struts-config.xml) Problem occurs when I upload a file that is too big: My form bean is very simple and

Clearing a form problem - bug or by design?

2002-11-03 Thread Oguz Kologlu
Hi all, I know this question has been asked before - I think i know the reason why some people are having issues clearing a form - the same as I am. I don't know if the problem is really a bug, by design or if I'm going about it the wrong way but it has been driving me nuts - ( update: I've

RE: Clearing a form problem - bug or by design?

2002-11-03 Thread Joe Latty
Perhaps a call to the reset method in the ActionForm. Joe -Original Message- From: Oguz Kologlu [mailto:ozkologlu;optushome.com.au] Sent: Monday, 4 November 2002 5:08 PM To: Struts-User Subject: Clearing a form problem - bug or by design? Hi all, I know this question has been asked