RE: JSP Buffer Size

2005-05-22 Thread tarek.nabil
Thanks Martin. But this is exactly what I'm trying to avoid. If I use the page directive, then I would need to do that in EVERY page. My question is, is there a way I can do this with Struts in some central place only once? -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED]

Re: DynaActionForm and the 'pull' model

2005-05-22 Thread Dakota Jack
You cannot talk about request objects and ignore the client. The requests come from the client. Any data coming to a JSP comes in the same way. This is not pull and this is not push. The data comes from some class existing in some scope: page, request, session, application. You are not doing a

Re: DynaActionForm and the 'pull' model

2005-05-22 Thread Dakota Jack
If you want to discuss this, I have a number of things to say. If you find that "argumentative", then I won't offer anything more. Having JSPs "fetch" data indeed is putting application logic in the JSPs. This does not give you flexibility. Quite the opposite, it ties your model and you view do

VALIDATION FOR TWO FIELDSHELP

2005-05-22 Thread Metal KoRn
Hey guys I need to validate two fields for password and confirmation but I can get the jakarta example work can anybody tell me how to do taht with struts?

Re: Where does ValidatorForm saves its errors?

2005-05-22 Thread Muhammad Momin Rashid
use logic:messagesPresent and set "property" to the name of the field you are validating e.g. Error ! The messagesPresent tag will evaluate to true if there is a validation error for nickName, and there are (error) messages for "nickName". Notice html:errors tag, the "property" is

Re: [OT] Help with REgular Expressions in Validate()

2005-05-22 Thread Laurie Harper
Woops, that's me not reading the original post carefully! meyawn wrote: wait a min... \w = word character: [a-zA-Z_0-9] \W (capital w) = non-word character: [^\w] so in case you wanna ban _ and digits you have to use "^[a-zA-Z]$" -Original Message- From: news [mailto:[EMAIL PROTECTED]

Re: DynaActionForm and the 'pull' model

2005-05-22 Thread Laurie Harper
You're bluring the distinction between client-side behaviour and server-side behaviour a little there. Ignore the client side for the moment; I'm talking only about how the application works on the server. The issue is about how the JSP gets access to the data it needs to display. Normally, as

Re: DynaActionForm and the 'pull' model

2005-05-22 Thread Laurie Harper
There's no code in the JSPs, though you could make the argument that having the JSPs fetch the data they need, through whatever means, is putting application logic in the JSPs. And yes, this is generally not reommended. In this case it's minimal and the trade off is the flexibility it provides

Re: Easy form populate question for gurus

2005-05-22 Thread Randy Kennedy
Well, I finally figured out a solution to this problem outlined below. Thought I would share it with the group in case someone else runs into this same problem. The problem is somewhere between the Jakarta Commons BeanUtils in conjunction with a LazyValidatorForm. Since the LazyValidatorForm

Struts 1.2.7 Quality Vote

2005-05-22 Thread Niall Pemberton
I have started a "voting" thread on the quality of the Struts 1.2.7 test build over on the "dev" list. http://www.mail-archive.com/dev%40struts.apache.org/msg09214.html Anyone wishing to participate/comment are welcome to do so there. Niall

Re: struts 1.2.4 examples error with NB4.1. help pls!

2005-05-22 Thread Martin Gainty
Carmen Did you make sure org.netbeans.modules.web.project.ant.JspC is on your classpath? Martin- - Original Message - From: "carmen lam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, May 22, 2005 4:56 AM Subject: Re: struts 1.2.4 examples error with NB4.1. help pl

Re: JSP Buffer Size

2005-05-22 Thread Martin Gainty
assuming you can handle the exception when buffer overflows <%@ page buffer="9kb" autoFlush="false" %> Martin- - Original Message - From: "tarek.nabil" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, May 22, 2005 4:25 AM Subject: JSP Buffer Size Hi everyone, Is the

Re: MyEclipse with Struts 1.2

2005-05-22 Thread Suresh Khatri
Sorry about previous line, sent halfway Download Struts 1.2.4 struts blank.war file, unzip and open with Eclipse using New Project Option. Lomboz, could then be used to deploy it Original message >Date: Sun, 22 May 2005 18:42:02 +1000 >From: Suresh Khatri <[EMAIL PROTECTED]> >Subject

Re: struts 1.2.4 examples error with NB4.1. help pls!

2005-05-22 Thread carmen lam
carmen lam <[EMAIL PROTECTED]> 說: I am running NetBeans 4.1 and want to try jakarta-struts-1.2.4 out. I followed the instruction from this page http://struts.apache.org/faqs/netbeans40.html and ran the struts-examples. I got an error 500 page on the browser with the following error on server.l

Re: struts 1.2.4 examples error with NB4.1. help pls!

2005-05-22 Thread carmen lam
carmen lam <[EMAIL PROTECTED]> 說:I am running NetBeans 4.1 and want to try jakarta-struts-1.2.4 out. I followed the instruction from this page http://struts.apache.org/faqs/netbeans40.html and ran the struts-examples. I got an error 500 page on the browser with the following error on server.lo

struts 1.2.4 examples error with NB4.1. help pls!

2005-05-22 Thread carmen lam
I am running NetBeans 4.1 and want to try jakarta-struts-1.2.4 out. I followed the instruction from this page http://struts.apache.org/faqs/netbeans40.html and ran the struts-examples. I got an error 500 page on the browser with the following error on server.log. Basically it failed to compile w

Re: MyEclipse with Struts 1.2

2005-05-22 Thread Suresh Khatri
I think Struts 1.2 Blank war file if opened using eclipse Original message >Date: Sat, 21 May 2005 20:17:02 +0300 >From: "Harry Hartley" <[EMAIL PROTECTED]> >Subject: MyEclipse with Struts 1.2 >To: > >Based on many of the comments I have found here, I decided to download >MyEclips

JSP Buffer Size

2005-05-22 Thread tarek.nabil
Hi everyone, Is there some way that I can set the buffer size for all JSPs to some value other than the default 8kb without having to do it in every JSP? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands