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
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
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
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
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.
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.
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.
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,
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
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,
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
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
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 =
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:
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
,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
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
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
: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
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
: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
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
/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
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
, 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
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
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.
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
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
? 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
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
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]
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
33 matches
Mail list logo