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 -

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]> Subjec

Re: Precompiling JSPs

2003-01-14 Thread William W
ate: Mon, 13 Jan 2003 13:05:17 -0800 I used Ant to precompile 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: "Willia

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 m

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 ?? <= Call some action Thanks, William. _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: F

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 ? Th

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

2002-07-10 Thread William W
Hi Chuck, Sorry for my mistake. I will send you my sugestion. William. >From: Chuck Cavaness <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: [ANN] Chapter 11 of the O'Reilly Struts book now avail

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: [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

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:

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 = request.get

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

Re: Validator and DispatchAction

2002-06-13 Thread William W
org.apache.struts.util.StrutsValidator" >method="validateRequired" >methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletReques

Re: Validator and DispatchAction

2002-06-13 Thread William W
Is it possible ? Use boolean in the "depends" property ? methodName update >From: "William W" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> &g

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 PROTECTE

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 ca

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
ava.lang.NullPointerException >Date: Tue, 11 Jun 2002 12:55:01 -0700 > > >try adding the dynamic="true" attribute in the entry > > as in > >type >="org.apache.struts.validator.DynaValidatorForm" >

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 -- --

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W
Users Mailing List' <[EMAIL PROTECTED]> >Subject: RE: DynaValidatorForm and java.lang.NullPointerException >Date: Tue, 11 Jun 2002 15:16:46 -0400 > >make sure that you are using the ActionMapping name to name your forms in >your validation.xml instead of using the actio

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: Validating forms with the validator

2002-06-07 Thread William W
> >I had two issues: > >I had to remove the extra password definition in the struts-html.tld >and I had to add the jakarta-regexp-1.2.jar to the WEB-INF/lib directory. > >After that, it worked fine. > >robert > > > -Original Message- > > From: William

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 downloa

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 Conne

Re: validation.xml

2002-06-05 Thread William W
; >in struts-config.xml for Struts 1.1b1 > >>From: "Radhika Nadkarni" <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Re: validation.xml >>Date: Wed, 05 Jun 2002 11:12:24

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: For addi

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: ApplicationResou

ApplicationResources.priperties

2002-05-23 Thread William W
If put the line 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. _ MSN Photos is the easiest way to share and print your photo

Re: Struts plugin for IBM WSED

2002-05-22 Thread William W
, 22 May 2002 15:59:04 +0200 (CEST) > > > The applet ? yes ;) >The plugins ? no > William W <[EMAIL PROTECTED]> a écrit : >Is it available for download ?? > > > >From: "emmanuel.boudrant" > >Reply-To: "Struts Users Mailing List" >

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, >

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:

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