Struts Validator

2002-09-25 Thread Day, Michael-IBM/TT
I have the following in my validation.xml file. I want to set the value to a parameter that was passed in via a POSTed form. If someone enters an invalid email, I'd like to say "[EMAIL PROTECTED] is an invalid email address." Is this possible?

RE: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-25 Thread Day, Michael-IBM/TT
Did you know that JSP PRO has nothing to do with announcements to this list? The person who wrote JSP PRO has an email address that originates from acm.org. -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 12:05 PM To: Struts Users Maili

RE: This guy from the bank raised a question ?

2002-09-22 Thread Day, Michael-IBM/TT
Wow. Whoever wrote this is good :). -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 7:38 PM To: Struts Users Mailing List Subject: Re: This guy from the bank raised a question ? This is the link I am reading at the moment. http://jakar

General Action classes question

2002-09-22 Thread Day, Michael-IBM/TT
Hopefully someone can help clear this question up. I am trying to use a few DispatchActions for all Actions in my application. As an example, I have a Category data object. All actions performed with this object directly are encompassed in the CategoryAction which extends DispatchAction. I

RE: This guy from the bank raised a question ?

2002-09-22 Thread Day, Michael-IBM/TT
WHAT THE HELL IS THIS GUY TALKING ABOUT? -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 5:15 PM To: Struts Users Mailing List Subject: Re: This guy from the bank raised a question ? Eddie Bush wrote that the designer of the architecture

RE: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-19 Thread Day, Michael-IBM/TT
that it doesn't trample on folks names-space. Personally, I'd give up what insignificant amount of namespace Struts would require -- just to have the keys more easily accessible. (hrm ... application config in app scope under "appCfg" or "strutsAppCfg" or the like

RE: Tomcat 4.1.9 locks up

2002-09-19 Thread Day, Michael-IBM/TT
You know what, Eddie? You're awesome. I just installed and tried it. The issue seems to be resolved. Thanks. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:12 AM To: Struts Users Mailing List Subject: Re: Tomcat 4.1.9 locks up H

RE: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-19 Thread Day, Michael-IBM/TT
in > writing is very straight-forward, and there are a couple of standard > examples (TilesPlugin/ValidatorPlugin) out there for you to look at. > Personally, when I started in, I looked at the ValidatorPlugin. It's > much shorter and covered everything I cared about. > > Day,

RE: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-19 Thread Day, Michael-IBM/TT
Both are much easier than I thought. Thanks for the help. One question remains: if I were to have a ConfigurationPlugIn, for example, how would I get that information to each servlet. Should I create static method within the ConfigurationPlugIn class that returns an object with all of the co

Tomcat 4.1.9 locks up

2002-09-19 Thread Day, Michael-IBM/TT
Has anyone had any problems with Tomcat 4.1.9 + Struts and multiple requests? If I refresh a page multiple times (around 50), Tomcat will completely stop responding to ALL requests. I have to kill the java processes. I have no idea how to figure out what is causing this (Struts code, my code

RE: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-19 Thread Day, Michael-IBM/TT
This is probably one of the stupidest questions, but I don't know how to do something once during application startup. For instance, if I wanted a bean to hold a list of states, how would I create that once during startup? -Original Message- From: Jan Fetyko [mailto:[EMAIL PROTECTED]]

RE: Possible memory leak in Tomcat 4.1.10

2002-09-12 Thread Day, Michael-IBM/TT
I'm having that problem as I have only 256MB RAM on the machine I'm using. Whenever I make changes to my classes and reload the application with Tomcat, I get java.lang.OutOfMemory errors. I don't understand why the java compiler leaks memory. Is the leak a bug or a necessity? -Origina

RE: [OT] XML Configuration Files

2002-09-12 Thread Day, Michael-IBM/TT
s what you wanted to know. No problem using both the O/R and XML capabilities of Castor in the same app. I think you can even do it with just one mapping file. Hope this helped, Dave Derry - Original Message ----- From: "Day, Michael-IBM/TT" <[EMAIL PROTECTED]> > Jas

RE: General Struts Question [LET US BE KINDER AND MORE SOPHISTICATED?]

2002-09-11 Thread Day, Michael-IBM/TT
Personally, I don't understand why should would say that she is married... -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 3:30 PM To: Struts Users Mailing List Subject: RE: General Struts Question [LET US BE KINDER AND MORE SOPHISTICATED?]

RE: [OT] XML Configuration Files

2002-09-11 Thread Day, Michael-IBM/TT
Commons Digester (the same API that Struts uses to read in struts-config.xml) to read in an XML document into JavaBeans. Jason -----Original Message- From: Day, Michael-IBM/TT [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 10:49 AM To: '[EMAIL PROTECTED]' Subject:

[OT] XML Configuration Files

2002-09-11 Thread Day, Michael-IBM/TT
I'm working on an application that will use a database extensively. In order to save some database hits, I'd like to offload some smaller bits of information into XML files. An example would be shipping methods. There is a limited number of shipping methods that a company could use. I would

[Velocity Tools] - Struts

2002-09-03 Thread Day, Michael-IBM/TT
I am attempting to use velocity tools 0.9 with struts 1.1-b2 and velocity 1.3. Does anyone know how I could use a VM template for layout purposes, instead of doing #include for headers/footers/menus on each content page? For example, the login page may have a layout different from a product displ

RE: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Day, Michael-IBM/TT
I'm new to struts, and I was wondering if someone could shed some light on why it is a good idea to always use an action to load JSPs. Just a simple explanation would be helpful. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:29 AM To:

RE: [VOTE] Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST

2002-08-30 Thread Day, Michael-IBM/TT
(X) YES GET RID OF THE BULLSHIT. =) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:28 PM To: Struts Users List Subject: [VOTE] Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST I should have posted that in the original message. Ple

RE: RE : [FRIDAY] Official DTD Special Offer

2002-08-30 Thread Day, Michael-IBM/TT
I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -Original Message---