Validation framework question

2007-03-13 Thread Chaudhary, Harsh
I am having an arguement with a co-worker here and here is how it goes. We have a JSP which has about 100 input fields. These fields have custom validators on them. When we try to run the JSP, it throws an exception something to the tune of Maximum try/catch size reached or something like that.

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
Hi. This is only a problem with javac and depending on wich java version you use. jdk5 should not have the problem. You may also try to use jikes for compiler. There may be or may be no code added for the validation. But this is not the problem ... Mike Chaudhary, Harsh a écrit : I am

RE: Validation framework question

2007-03-13 Thread Chaudhary, Harsh
: Tuesday, March 13, 2007 11:51 AM To: Struts Users Mailing List Subject: Re: Validation framework question Hi. This is only a problem with javac and depending on wich java version you use. jdk5 should not have the problem. You may also try to use jikes for compiler. There may be or may

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
. -Original Message- From: Mike Baroukh [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:51 AM To: Struts Users Mailing List Subject: Re: Validation framework question Hi. This is only a problem with javac and depending on wich java version you use. jdk5 should not have

Re: Validation framework question

2007-03-13 Thread Dave Newton
--- Mike Baroukh [EMAIL PROTECTED] wrote: jdk5 should not have the problem. Did 1.5+ remove the 64K limitation? There may be or may be no code added for the validation. But this is not the problem ... Technically, no, but it's the gating issue in this case. Try breaking up the JSP into

RE: Validation framework question

2007-03-13 Thread Chaudhary, Harsh
List Subject: Re: Validation framework question then, you may try to look at the compiled jsp ? Chaudhary, Harsh a écrit : I know that the exception Maximum try/catch size reached has something to do with the compiler but what I would likt to know is that whether or not any validation code

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
Did 1.5+ remove the 64K limitation? I'm not absolutly sure, but think. I read this once and it's been a long time since I didn't saw this exception ... Mike Dave Newton a écrit : --- Mike Baroukh [EMAIL PROTECTED] wrote: jdk5 should not have the problem. Did 1.5+ remove the 64K

Re: Validation framework question

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: --- Mike Baroukh [EMAIL PROTECTED] wrote: jdk5 should not have the problem. Did 1.5+ remove the 64K limitation? The 64k is a limit for method bodies, not try/catch. It should still be very much in force:

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
. Harsh. -Original Message- From: Mike Baroukh [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:51 AM To: Struts Users Mailing List Subject: Re: Validation framework question Hi. This is only a problem with javac and depending on wich java version you use. jdk5 should

Re: Validation framework question

2007-03-13 Thread Dave Newton
--- Christopher Schultz wrote: I wrote: Try breaking up the JSP into dynamic includes This might not help, depending in which type of include you use. Static includes, for example, [...] ... d. Looking

Re: Validation framework question

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: --- Christopher Schultz wrote: I wrote: Try breaking up the JSP into dynamic includes This might not help, depending in which type of include you use. Static includes, for example, [...] ... Heh. Missed dynamic.