RE: Struts w/JBuilder 5

2001-07-30 Thread Renzo Toma
Anthony, Welcome to the strange world of JBuilder5! Check if JB has copied your ApplicationResources.properties (or equivalent) to the output path. If not, check if you have set your Project Properties -> Build -> Resource -> 'properties' to 'copy'. Also I noticed, when I do a rebuild JB remov

RE: Validation REGEX for input

2001-07-29 Thread Renzo Toma
Hi Scott, What about this little gem? Not sure if it works, but it looks sound: ^(.*\w.*\d.*|.*\d.*\w.*){6,8}$ for more control of valid characters you could use [...] charactersets: ^(.*[a-zA-Z].*[0-9].*|.*[0-9].*[a-zA-Z].*){6,8}$ Let me know if it works. Cheers, Renzo -Original Me

RE: NewB: Is Struts completely reliant on sessions

2001-07-23 Thread Renzo Toma
Renzo, Felix, If your front-end web server/load balancer (also known as Local Director or Resonate, etc) is implemented to use IP stickiness, then this is a non-issue since the Web user will be returned to the server which serviced the original request. Brian "

RE: How do you load information into a bean that your form uses before displaying it?

2001-07-20 Thread Renzo Toma
----- From: Renzo Toma <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 11:46 AM Subject: RE: How do you load information into a bean that your form uses before displaying it? > > The pattern I use works as followed: > > - create a Action which reads data

RE: HTTP requests in struts-config.xml

2001-07-20 Thread Renzo Toma
This falls in the category "I want to pass parameters along a redirecting forward, but I don't know how."   I have the same problem when:   - a user adds a new contact to a group in an hypothetical addressbook. - on success a list of all contacts in that group is shown. - to avoid double/t

RE: How do you load information into a bean that your form uses before displaying it?

2001-07-20 Thread Renzo Toma
The pattern I use works as followed: - create a Action which reads data from a database - stuff all data in a bean and request.setAttribute("BeanName", bean); - forward to your "view" jsp and reference your data as NOTE: directly requesting the .jsp will give you an "cannot find bean BeanName

RE: NewB: Is Struts completely reliant on sessions

2001-07-20 Thread Renzo Toma
Hi As long as you carry over all properties to the next request using form elements (text, hidden, ...), you will only miss the LOCALE session variable. But you set that by subclassing ActionServlet. Actually when you stay away from wizard-like/multipage forms, you'll be fine. Renzo -Ori

RE: Looking for Statistics

2001-07-12 Thread Renzo Toma
You're asking for an unfair comparison; model2 seperates logic ("model" & "control") from presentation ("view") so you're bound to have overhead, and thus more lines. It sounds like you need to convince suits to go with Struts. If so, take another approach, point out the benefits of MVC. Cheers

RE: html:select/options

2001-07-12 Thread Renzo Toma
Hi, You may want to check the docs for the html:select tag; the property="" tag can be used to 'dictate' the current selection. Is that what you need? If not, please describe your issue some more. Maybe some example code helps? Cheers, Renzo -Original Message- From: DHarty [mailto:[E

RE: offtopic question

2001-07-12 Thread Renzo Toma
You're right: MySQL does not have transactional support and does only do table locking (no row-locking like the big boys). -Original Message- From: Aapo Laakkonen [mailto:[EMAIL PROTECTED]] Sent: woensdag 11 juli 2001 18:45 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: offtopic

RE: JBuilder

2001-07-08 Thread Renzo Toma
Hi David, I like JBuilder for developing classes and javabeans, but it's *not* very usefull for jsp's. You may want to check out JRun Studio for that. Also do have 256M in your developement machine, you'll need it ;( If you need specifics, please ask me. Cheers, Renzo -Original Message

RE: message masks

2001-07-06 Thread Renzo Toma
Hi Oleg & others, I was more looking for something like: ... in which I do not need any scriptlets: argX tags in the body of ... Am looking forward to any input or status. Thanks! Renzo -Original Message- From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]] Sent:

message masks

2001-07-06 Thread Renzo Toma
Hi there, First of all, I want to thank all Struts developers & contributors for creating such a nifty framework. After working with it for some time now, I really miss message masks, like 'Hi {0}, welcome back'. Ok, I _could_ use a pre and suffix, but that's not very proper. Now I have found