Re: [ANNOUNCE] Struts Console v4.0

2003-06-25 Thread William W
James, Congratulations, it is a great tool ! Thanks William. From: James Holmes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts Console v4.0 Date: Tue, 24 Jun 2003 23:28:57 -0400 Struts

Re: How to reject missing taglibs?

2003-02-10 Thread William W
Hi Luiz, How the compiler will know if it is a simple text or a tag-lib that you defined ? I think that it is not possible. William. From: Luiz-Otavio Zorzella [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: How

Re: Precompiling JSPs

2003-01-14 Thread William W
the JSPs before. It was very good but took much longer to compile a build. If you have 2,000 JSPs, mm... And I can tell how hard to maintain 2000 entries in the web.xml. Billy Ng - Original Message - From: William W [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 13

Precompiling JSPs

2003-01-13 Thread William W
Hi All, My app has more than 2,000 JSPs. I can precompile my JSP and map it into the web.xml file. But I think that it would become a little big. Sugestions ??? Thanks, William. _ The new MSN 8 is here: Try it free* for 2

RE: How can I implement session time out control in struts

2002-09-18 Thread William W
You can try to implement the HttpSessionBindingListener. In the valueUnbound method, you can put your object in the session again. But you class need to have a field indicating that you did the five minutes, or our object will never leave the session. You can try something like this. Wiliam.

call a action inside another action

2002-08-12 Thread William W
Hi All, How can I call a action inside another action ? For example. I have a action action1 whith a method action1Method. Now I have a action action2 and I want to call action1.action1Method. How can I do it ? I have to instantiate the action1 ? Thanks.

Tiles definition question

2002-07-31 Thread William W
My friends, Is it possible ?? definition name=myDef path=myDef.jsp put name=title value=My Company / put name=top value=top.do /= Call some action put name=body value=body.jsp / put name=botton value=botton.jsp / /definition Thanks, William.

Real path question

2002-07-16 Thread William W
Hi, I have a parameter that is a file propertie in my plugIn, the parameter name is myFile and the parameter value is /WEB-INF/classes/myFile.properties. But when I try to read the file, the system is looking for it in c:\WEB-INF\classes\myFile.properties. How can I get the real path ? Thanks,

Re: [ANN] Chapter 11 of the O'Reilly Struts book now available

2002-07-10 Thread William W
Hi Chuck !! Why didn't you talk about using validator with DispatchAction ? David was helping me to program a good example, and now , it is working. William. From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [ANN] Chapter 11 of the

RE: [ANN] Chapter 11 of the O'Reilly Struts book now available

2002-07-10 Thread William W
Hi Robert, I don't know if this is the best but it is doing the job. My solution : I did a class MyValidator with two methods (verifyMethod and validateRequired) --- private static boolean verifyMethod( Object bean, ValidatorAction va, Field field, ActionErrors errors,

Re: Tiles And Struts

2002-06-27 Thread William W
Why not plugIn ? What functionality is lost if using tiles' plugIn ? Just out of curiosity. William. From: Vincent Stoessel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Tiles And Struts Date: Wed, 26 Jun

Re: struts validation and multiple message resources files

2002-06-14 Thread William W
Is there a solution for this problem ? Thanks, William. From: Alok Ghosh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: struts validation and multiple message resources files Date: Tue, 11 Jun 2002 13:24:04 -0400 Hi, I am running the new

Re: Validator and DispatchAction

2002-06-14 Thread William W
My solution : I did a class MyValidator with two methods (verifyMethod and validateRequired) --- private static boolean verifyMethod( Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request) { String methodRequest =

Re: Validator and DispatchAction

2002-06-13 Thread William W
I think that if I use DispatchAction with ValidatorActionForm I will have the same problem. How can I validate the form for diferents methods in the same Action ? Am I wrong ? Thanks, William. From: David Winterfeldt [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

Re: Validator and DispatchAction

2002-06-13 Thread William W
Is it possible ? Use boolean in the depends property ? field property=password depends=method OR required arg0 key=typeForm.password.displayname/ var var-namemethodName/var-name var-valueupdate/var-value /var /field From: William

Re: Validator and DispatchAction

2002-06-13 Thread William W
,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletRequest depends=method msg=errors.required/ David --- William W [EMAIL PROTECTED] wrote: Is it possible ? Use boolean in the depends property ? field property=password

Validator and DispatchAction

2002-06-12 Thread William W
Hi ! I have a UserForm, the fields are : userId and userName. I have a UserAction that extends DispatchAction. The UserAction have two methods (insert and update). For the insert method only the userName is required, and for update method the userId and the userName are required. How can I

DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
Hi , When I configure my form to be a DynaValidatorForm I have the java.lang.NullPointerException error, but if I use a DynaActionForm, everyting do ok but with no validation. What Am I doing wrong ? Thanks, William. _ Chat with

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
:16:46 -0400 make sure that you are using the ActionMapping name to name your forms in your validation.xml instead of using the action form name. ~Jason -Original Message- From: William W [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:15 PM To: [EMAIL PROTECTED] Subject

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
Can you post your struts-config.xml entries? Sure ! My action just have a forward to test. struts-config.xml -- form-beans form-bean name=logonForm

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
:01 -0700 try adding the dynamic=true attribute in the form-bean entry as in form-bean name=logonForm type =org.apache.struts.validator.DynaValidatorForm dynamic=true William W [EMAIL PROTECTED] on 06/11/2002 12:47:45 PM Please

Validating forms with the validator

2002-06-07 Thread William W
Hi All, I'm trying to use the Struts Validator (http://home.earthlink.net/~dwinterfeldt/overview.html), but there are no examples with Struts 1.1 b1. Somebody have some example (.war) ? Thanks ! William. _ Get your FREE download

RE: Validating forms with the validator

2002-06-07 Thread William W
/lib directory. After that, it worked fine. robert -Original Message- From: William W [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: Validating forms with the validator Hi All, I'm trying to use the Struts Validator

Re.Pool Connection DataBase

2002-06-06 Thread William W
Why the creator of the PoolMan is not supporting it anymore ? The best practice should be use BasicDataSource ? Thanks, William. From: Struts Newsgroup (@Basebeans.com) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re.Pool Connection

Re: validation.xml

2002-06-05 Thread William W
, 05 Jun 2002 11:12:24 + hi, configure it in web.xml file as init-param param-nameconfig/param-name param-value/WEB-INF/validation.xml/param-value /init-param From: William W [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED

validation.xml

2002-06-04 Thread William W
I'm using Struts 1.1 b1. Where should I configure the validation.xml file ? Thanks, William. _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

ApplicationResources.priperties

2002-05-23 Thread William W
If put the line message-resources parameter=ApplicationResources null=false/ in my struts-config.xml , WHERE should I put my file ApplicationResources.properties ? WEB-INF/classes ??? I'm using Struts 1.1 b1. Thanks, William.

RE: ApplicationResources.priperties

2002-05-23 Thread William W
be in the appropriate location in your classpath. So, in your case WEB-INF/classes is correct. Sri -Original Message- From: William W [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 1:48 PM To: [EMAIL PROTECTED] Subject: ApplicationResources.priperties If put the line message

Re: Struts plugin for IBM WSED

2002-05-22 Thread William W
Is it available for download ?? From: emmanuel.boudrant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Struts plugin for IBM WSED Date: Wed, 22 May 2002 14:30:17 +0200 (CEST) Hello everybody, IBM is about

Re: Struts plugin for IBM WSED

2002-05-22 Thread William W
? no William W [EMAIL PROTECTED] a écrit : Is it available for download ?? From: emmanuel.boudrant Reply-To: Struts Users Mailing List To: Struts Users Mailing List Subject: Struts plugin for IBM WSED Date: Wed, 22 May 2002 14:30:17 +0200 (CEST) Hello everybody, IBM is about releasing

Struts 1.1 Beta 1

2002-05-20 Thread William W
Hi All, I'm tring to use Struts 1.1 Beta 1. Do you know the new jars that I have to use ? I'm having the erros : LoadOnStartupInterceptor: cannot load servlet name: database - javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found and

Using Adalon

2002-05-10 Thread William W
Hi All, Do you know Synthis Adalon ? Is it good to build Struts code and design ? Thanks, William. _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Forms

2002-05-07 Thread William W
Hi All, I have a form named myForm and a action named myAction. myAction has a method perform. When everything is ok when finished, I forward to my page sucess . Now I implemented the method validade in myForm, how (where...) can I configure the forward when the validade return a not empty