2014-08-25 18:27 GMT+02:00 Miguel Almeida :
> Note: I pasted the wrong JIRA issue. The correct one is:
> https://issues.apache.org/jira/browse/WW-4395
But you can simple override default pattern with regex or
regexExpression param (don't use both)
*.
http://struts.apache.org/release/2.3.x
Note: I pasted the wrong JIRA issue. The correct one is:
https://issues.apache.org/jira/browse/WW-4395
On Mon, 2014-08-25 at 12:22 -0400, Dave Newton wrote:
> http://tools.ietf.org/html/rfc2822
>
> IIRC http://tools.ietf.org/html/rfc2047 discusses non-0-127 chars in
> headers, I'm not sure if th
It's impossible to generalize if the developer wants ASCII characters or
Unicode characters in email validation. A switch is obviously mandated.
However, for Unicode characters, this can be easily solved by using the \w
switch (word characters), I believe, as a replacement for the typical
[A-Za-z0-
http://tools.ietf.org/html/rfc2822
IIRC http://tools.ietf.org/html/rfc2047 discusses non-0-127 chars in
headers, I'm not sure if that extends to addresses.
The bottom line is that any realistic email regex will miss a lot of edge
cases, and some fairly normal use cases as well. Email regexes are
I have added it to the JIRA -
https://issues.apache.org/jira/browse/WW-4389
I can't seem to find the actual standard though (i.e., the one in place
that essentially doesn't allow these characters). For documentation
purposes, does anyone know what effective standard disallows these
characters?
C
I looked up the RFC. The document lists itself as a "proposed standard" [1]
so it's not really available yet for general use (but correct me if wrong).
I propose that an enhancement should be made in JIRA to handle this.
[1] http://tools.ietf.org/html/rfc6531
Cheers,
Paul
On Mon, Aug 25, 2014
This is the regex for email validation in Struts:
\\b^['_a-z0-9-\\+]+(\\.['_a-z0-9-\\+]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)\*
\.([a-z]{2}|aero|arpa|asia|biz|com|coop|edu|gov|info|int|jobs|mil|mobi|
museum|name|nato|net|org|pro|tel|travel|xxx)$\\b
I had a report of this failing for a user with an umlaut
Have the action extend ActionSupport and have the class implement its own:
public validate(void).
Look at the code of ActionSupport (or JavaDoc) for how to set error
messages, if an error is set, after validate() executes, Struts2 will
assume an error has occurred and the action will return "input
Hello,
I had successfully written a conditional visitor validator for a
List in a
validation.xml for a list of Object say Employee. Then I wrote a
validation.xml of the
type Employee-validation.xml where i wrote the validation to be done for
say First
Name , Last Name. Now the validations in
Hello,
I had successfully
written a conditional visitor validator for a List in a
validation.xml for a list of Object say Employee. Then I wrote a
validation.xml of the type Employee-validation.xml where i wrote the
validation to be done for sa
Hello,
I am currently using the Struts2 validation framework for my project. I
have Struts 2.0.14. I have been trying to find a way to display alternate
error message through validator framework.
I tried two things.
1. I added a bundle attribute in the following code in the web.xml but
Had a look in the soruce for 2.21 AnnotationActionValidatorManager line 226
replaces any / in the action alias with -. So in the example below I would
have to give the file the succinct name
CreatePortalUserAction-CreatePortalUser-persistCustomer-validation.xml :-)
On Thu, Nov 4, 2010 at 12:00 PM,
Hi all,
I've just started using Struts 2.21 and I've wired up an action with
RESTfulish way of calling different methods:
/WEB-INF/jsp/internal/createPortalUserHome.jsp
/WEB-INF/jsp/internal/createUser.jsp
/WEB-INF/jsp/internal/createCustomer.jsp
so I can p
Hi,
On one of my project we are using struts validation framework...i am using
client side validation...requirement is when form field value is invalid its
focusing into specific field...at same time i have to select existing value
invalid text...like focus() and select()
Thanks,
-Soma
Hi,
validator-rules contents:
Thanks again,
André
From: Martin Gainty
To: acastanheira2...@yahoo.com.br
Sent: Monday, October 5, 2009 3:19:25 PM
Subject: RE: Struts validation (validwhen)
please post contents of validator-rules.xml
Martin Gainty
}
--
View this message in context:
http://www.nabble.com/Struts-validation-%28validwhen%29-tp25754823p25754823.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
Is there a way to make the client-side struts validation behave like the
server-side validation?
Specifically I would like the client-side validation to put error
messages in the
or tags rather than using alert boxes.
Is this possible? I haven't been able to find a way to do i
fails
login as it should.
Now after that even if i login with the correct login , the javascript file
is not loaded.
i am able to display other jsp elements.
but the javascript files are not loaded.
please guide me regarding the same.
--
View this message in context:
http://www.nabble.com/S
HiI am having issues with struts validation when i have more then one
struts-config.xml file defined in web.xml
Struts performs no validation for the rules i have in validation.xml file,
which is part of struts-config.xml, but if i remove struts-config-admin.xml
from web.xml then it performs the
On Thursday 19 February 2009 01:02:16 Rajeshwari Godbole wrote:
> Hi all,
>
> Our team here has developed a portal using Struts2. Most of the developers
> have used javascript to validate the forms. I know using the Struts
> validation framework is a better way to do this but I
Hi all,
Our team here has developed a portal using Struts2. Most of the developers
have used javascript to validate the forms. I know using the Struts
validation framework is a better way to do this but I think this was avoided
in the project due to the (perceived) cumbersome setup (xml file
frame work.
--
View this message in context:
http://www.nabble.com/Struts-Validation-framework-tp18920960p18920960.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Dale.
Thank you for your answer. See my comments below.
--
Robi
Dale Newfield wrote:
Roberto Nunnari wrote:
..but in order to add declarative validation, that would require
a file named:
CategoryAction/create-validation.xml
Oops.. little typo! That should read:
CategoryAction-Category/c
Roberto Nunnari wrote:
..but in order to add declarative validation, that would require
a file named:
CategoryAction/create-validation.xml
but '/' is not a character allowed in filenames.
Did you actually try putting the validation file at
CategoryAction/create-validation.xml (i.e.: in a subd
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Thanks,
Nuwan
Sonu S wrote:
Hi,
I am using struts in my application. to validate users entry in jsp i have
my validation method. and i am calling that method in action class. code is
below:(I am not using struts' validatio
Hi,
I am using struts in my application. to validate users entry in jsp i have
my validation method. and i am calling that method in action class. code is
below:(I am not using struts' validations )
// in action class, calling validate method
ActionErrors errors = myForm.validate(mapping,request
Hi.
Thank you very much Dave. my problem solved.
Anet.
Dave Newton <[EMAIL PROTECTED]> wrote:
--- Anet wrote:
> whats your mean about rendering tag property?
It ate part of my text; I was asking if it renders a tag.
If not, you'd have to put it inside one--I just don't remember much
--- Anet <[EMAIL PROTECTED]> wrote:
> whats your mean about rendering tag property?
It ate part of my text; I was asking if it renders a tag.
If not, you'd have to put it inside one--I just don't remember much about S1
any more.
> everything is ok. just validation doesn't work.
Hi Dave;
whats your mean about rendering tag property?
everything is ok. just validation doesn't work.
I use struts 1.1 .
Dave Newton <[EMAIL PROTECTED]> wrote:
--- Anet wrote:
> I have an strange problem with struts validation. Everything is ok.
...
> but java
--- Anet <[EMAIL PROTECTED]> wrote:
> I have an strange problem with struts validation. Everything is ok.
...
> but java script created by struts are shown on top of my page, where I put
>
Is it rendering the tag properly? Which version of S1 are y
Hi
I have an strange problem with struts validation. Everything is ok. I checked
it several times.
but java script created by struts are shown on top of my page, where I put
any idea?
Thanks.
-
Looking for last minute shopping deals? Find
Paul Benedict wrote:
You can use this pattern:
* Turn automatic validation off.
* If your action was executed as a GET, branch to viewing logic.
* If your action was executed as a POST, branch to validation logic and
submission logic.
Another approach is to retain declarative validation and
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Benedict
> Sent: Friday, January 25, 2008 12:15 PM
> To: Struts Users Mailing List
> Subject: Re: Can I use one action for displaying and submission (with
> struts validation)
>
> You can use this pattern:
>
Benedict
Sent: Friday, January 25, 2008 12:15 PM
To: Struts Users Mailing List
Subject: Re: Can I use one action for displaying and submission (with
struts validation)
You can use this pattern:
* Turn automatic validation off.
* If your action was executed as a GET, branch to viewing logic.
* If your
You can use this pattern:
* Turn automatic validation off.
* If your action was executed as a GET, branch to viewing logic.
* If your action was executed as a POST, branch to validation logic and
submission logic.
Paul
I was noticing an issue if I use one action for both displaying and
submission purposes:
Say MyAction.java is for displaying page and also for submission. If on
the page there is text field needing the struts validator validation,
then if failing validation, I forward to MyAction.java and comes
ing the prepare
> method
>
> We ended up with option 1. I'd be interested to find out if there is
> better solution too.
>
> -Original Message-
> From: Vaibhav Khare [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 10, 2007 10:37 AM
> To: user@struts.apache.o
EMAIL PROTECTED]
Sent: Monday, December 10, 2007 10:37 AM
To: user@struts.apache.org
Subject: Struts Validation issue
Hi,
I am using Struts validation framework in my project. My form becomes
null
whenever I try to do some validation. The validation works fine but the
next
time it comes on the UI, the
I am using tile page as an input.
Thx
Paul Benedict-2 wrote:
>
> Can you paste in the set of action configuration mappings that you're
> using?
>
> On Dec 10, 2007 9:37 AM, Vaibhav Khare <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I a
Can you paste in the set of action configuration mappings that you're using?
On Dec 10, 2007 9:37 AM, Vaibhav Khare <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Struts validation framework in my project. My form becomes null
> whenever I try to do some validation.
Hi,
I am using Struts validation framework in my project. My form becomes null
whenever I try to do some validation. The validation works fine but the next
time it comes on the UI, the list becomes null.
Any help will be appreciated.
example:
When I do the validation, this tag fails as the
u.
-Cesar
PS Found those pages while googling for "struts validatior dtd"
- Original Message
From: rapsy <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Thursday, October 4, 2007 12:02:11 PM
Subject: Re: Struts validation error on Jdeveloper 10.1.3.3
I don't
>
> just a quick thought, shouldn't the arguments start at index 0? this
> meaning that you should have
>
>
>
>
> ??
>
> -Cesar
>
>
> - Original Message
> From: rapsy <[EMAIL PROTECTED]>
> To: user@stru
Error) Attribute 'name' used but not declared.
Can someone tell me why I am getting these errors? Thank you!
--
View this message in context:
http://www.nabble.com/Struts-validation-error-on-Jdeveloper-10.1.3.3-tf4570539.html#a13045841
S
Can someone tell me why I am getting these errors? Thank you!
--
View this message in context:
http://www.nabble.com/Struts-validation-error-on-Jdeveloper-10.1.3.3-tf4570539.html#a13045841
Sent from the Struts - User mailing list archive at Nabble.com.
-
why the insistence on using the
Struts validation code, rather than Commons Validator? The Struts code
is just a thin wrapper/adapter around Commons Validator.
& want to know the class which explicitly calls other classes responsible
for validation after the form is submitted
You seem to
inal Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 5:12 PM
To: Struts Users Mailing List
Subject: [OT] Re: Calling Struts Validation framework explicitly from
WebServices
Look at Apache commons-validator... asking the
question in many different ways will
Look at Apache commons-validator... asking the
question in many different ways will not generate
significantly different answers.
http://commons.apache.org/validator/
d.
--- Prashant Baviskar <[EMAIL PROTECTED]>
wrote:
>
>
> Hi,
>
> I have a struts application.
>
> I am separating business
Hi,
I have a struts application.
I am separating business logic from presentation logic & going to expose
this business logic as web-service.
I want to explicitly call validation framework of struts from web service.
Please Help
--Thanks & Regards
Prashant Baviskar
http://www.pa
Thanks Paulus,
I have to populate an ActionForms object first which happens in struts after
submitting form. & then struts validation does it's work before calling the
execute method.
I want to do the same explicitely.
Can you tell me the class which reads struts-config.xml, in whi
> On 8/13/07, Prashant Baviskar <[EMAIL PROTECTED]> wrote:
> >
> > struts application.
> >
> > I want to make use of above files (validation.xml, validator-rules.xml,
> > other validation files)
> >
> > for validating same fields using Struts Val
ion.
>
> I have other desktop application which has same fields like forms in the
> struts application.
>
> I want to make use of above files (validation.xml, validator-rules.xml,
> other validation files)
>
> for validating same fields using Struts Validation framework
>
>
l,
other validation files)
for validating same fields using Struts Validation framework
How can I use these files for validation.
Please help
--Thanks & Regards
Prashant Baviskar
http://www.patni.com
World-Wide Partnerships. World-Cla
Nosinov Mirbek wrote:
Hello Everybody.
Could you help me with Struts validation.
this is block from validation.xml
I want to show in error message in jsp value of property email, that user has
entered.
like if user entered [EMAIL PROTECTED]
i want to show error message
[EMAIL
Hello Everybody.
Could you help me with Struts validation.
this is block from validation.xml
I want to show in error message in jsp value of property email, that user has
entered.
like if user entered [EMAIL PROTECTED]
i want to show error message
[EMAIL PROTECTED] is invalid
Juli 2007 11:17
An: Struts Users Mailing List
Betreff: Re: AW: struts validation
are you sure that you have this files in WEB-INF? are you using any IDE
like eclipse or netbeans?
El vie, 06-07-2007 a las 11:13 +0200, Anja Fischer, IBE escribió:
> Hi,
>
> that's the same I have
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
>
>
> Anja
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 6. Juli 2007 11:02
> An: St
truts validation
i've in my struts-config.xml:
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> Hi all,
>
> I use the struts validation plugin. Now tomcat runs into a
> javax.servlet.Unavailable
i've in my struts-config.xml:
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> Hi all,
>
> I use the struts validation plugin. Now tomcat runs into a
> javax.servlet.UnavailableExcepti
Hi all,
I use the struts validation plugin. Now tomcat runs into a
javax.servlet.UnavailableException: Cannot load a validator resource
from '/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml'
Like it is described in the struts user guide I replaced the dtd in
validation.xml and
lto:[EMAIL PROTECTED]
Sent: 23 April 2007 13:17
To: user@struts.apache.org
Subject: Struts Validation Problems
Hi,
I have some problems with using the following regular expression in the
validation f
Hi,
I have some problems with using the following regular expression in the
validation framework from Struts.
mask
^\w{2}-\w{6}(-\w{2
Oren Livne wrote:
P.S. An important fact I forgot to mention: my VO is persisted to a
database using Hibernate. Hibernate wraps this
object with its own type. Is it possible that the type conversion
(String -> int) is not working properly because
Hibernate's wrapper gets in the way? I did a si
l" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, March 03, 2007 6:50 PM
Subject: Re: Two Struts validation problems
> Chris is right, the zero occurs in the java.lang.Integer(String)
> constructor when it is passed a non-numeric string value. You
P.S. An important fact I forgot to mention: my VO is persisted to a
database using Hibernate. Hibernate wraps this
object with its own type. Is it possible that the type conversion
(String -> int) is not working properly because
Hibernate's wrapper gets in the way? I did a simple test of copying
Dear Laurie & Christopher:
Great! Thanks. I'm using Strings now in my form. But as I wrote to Ed,
suppose I validated the form and would like to copy all properties to a
VO (value object) / DTO with one call (e.g. copyProperties()). How do I
get it to automatically convert my form String prope
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
Dear Chris:
Yes, other validations are working. For instance, I also have an
"intRange" validation on the same integer field. If I type a letter for
the integer field, it sets it to 0, displays it
Dear Ed:
Thanks so much for your response (all other that replied -- thanks so
much as well!).
For now, I would like to stick to the first solution: ActionForm with
String properties.
I already have VOs and don't mind copying over from the form to the VO
and back.
My last question on this issu
Chris is right, the zero occurs in the java.lang.Integer(String)
constructor when it is passed a non-numeric string value. You would
see this happen in your ActionForm and action class if you weren't
using the validator. The same thing happens with a non-numeric in a
java.lang.Double(String) const
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
> Dear Chris:
> Yes, other validations are working. For instance, I also have an
> "intRange" validation on the same integer field. If I type a letter for
> the integer field, it sets it to 0, displays it as 0, and says it's
>
Dear Chris:
Yes, other validations are working. For instance, I also have an
"intRange" validation on the same integer field. If I type a letter for
the integer field, it sets it to 0, displays it as 0, and says it's
outside the permissible range (which happens to be 1-4). No errors on
startup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
> 1) I have a form property that is an integer. When I set its validation
> rule to "integer", it has no effect.
[snip]
> 2) A "validwhen" test condition seems to be ignored:
Are other validations working? It's possible that
Dear All:
I have two problems with Validator. I'm using Struts 1.3.5, Tomcat 6.0.9
and Java 1.6:
1) I have a form property that is an integer. When I set its validation
rule to "integer", it
has no effect.
- The form field is populated with a zero value even if a letter is
typed in the form
i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter L. Berghold wrote:
>
Oh, and make sure that your file gets put into WEB-INF/classes (or some
subdirectory thereof), or by some other means into the classpath. I
don't think it'll work if it's just in WEB-INF.
- -chris
-BEGIN PGP S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter L. Berghold wrote:
>
Hmm... I don't usually put stuff like this in "packages" but you might
want to use slashes instead of dots. Give it a try and see...
> When the form is submitted completely blank (which should generate an
> error..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
OK,
I've been hacking around some more on this validation stuff and while
some of the suggestions I've been given have been a HUGE help I'm still
stuck.
Re-distilling the problem a bit I think I may have stumbled on something
but I'm not quite sure w
n.
Currently as I know, the action gets called based on the
setting.
Any help would be much appreciated,
regards,
robin.
----
Subject:
Having problems with Struts validation framework
From:
robin bajaj <[EMAIL PR
gt; Currently as I know, the action gets called based on the
> setting.
>
>
> Any help would be much appreciated,
> regards,
> robin.
>
>
>
>
>
>
>
>
>
>
>
> ---
Robin,
I only have one issue with this approach. I dont know how to make use of
the built-in validation rules provided in validation-rules.xml in my
.java code.
You are not trying to replace the validator. You are still going to use
it, so code in your normal rules in the XML file. All you'r
make use of
the built-in validation rules provided in validation-rules.xml in my
.java code.
I can check for simple things like not-null, not-empty etc. but checking
something like "email" field will be easier if I could leverage the
rules provided by Struts validation framework in vali
WongTseng wrote:
You say the validator is based on whatever key I supply.Is that true, as
far as I know the validation is linked with the form by the form's name.
ValidatorForm and ValidatorActionForm are coded to select the keys for
you. The former picks the form name, the second picks the acti
On 11/23/06, robinbajaj <[EMAIL PROTECTED]> wrote:
Hi Folks,
My previous post's subject was not clear. So here's a re-phrase of the
problem.
My loyaltyPAge.jsp has two buttons - Exit and continue.
I want the validation to occur only when "Continue" is clicked upon.
But the
Rick has a
hi,Paul:
You say the validator is based on whatever key I supply.Is that true, as
far as I know the validation is linked with the form by the form's name.
2006/11/24, Paul Benedict <[EMAIL PROTECTED]>:
Robin,
The validator is based on whatever key you supply. You can choose the
key. I like t
the validation to occur only when "Continue" is clicked upon.
But the having "validate=true" - that's why the Struts validation framework
tries to validate the input fields regardless of which button is clicked.
Is there some facility provided by the Struts framework to
SKI
l etc.) in this case,
Thanks for your help,
regards,
robin.
--
View this message in context:
http://www.nabble.com/how-to-selectively-call-struts-validation-from-a-form-tf2695232.html#a7516473
Sent from the Struts - User mailing list a
Hello folks,
I found a little issue with the action that's being called.
Please dis-regard my previous mail reporting this issue.
Its resolved now.
However, I have another related issue.
My loyaltyPAge.jsp has two buttons - Exit and continue.
I want the validation to occur only when "Continue" i
Hi Folks,
--- problem ---
My validation is working but the control doesnt go back to the input
page. I want the input page to render again showing the errors.
--- Details --
I am using Struts 1.1.x for my webApp.
My validation is working fine. (validator-rules.xml and
validation-renewal.xml s
You can also do the same kind of thing that Chris suggests with Struts tags:
For your global message, uses the "messagesPresent" tag to detect if
there are errors and then output the appropriate message:
For your field specific messages, you can use either the
or tags to position m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
> When the user submits the form with more than one fields left blank (or
> with incorrect values), I want to show a
> general (GLOBAL) message on top of the form saying
>
> "Following shown mandatory fields were provided with incorrect values
Hi Dave,
Thanks for the reply.
My Desired Scenario:
a)
When the user submits the form with more than one fields left blank (or
with incorrect values), I want to show a
general (GLOBAL) message on top of the form saying
"Following shown mandatory fields were provided with incorrect values"
b
From: robin bajaj [mailto:[EMAIL PROTECTED]
> I need to know how can I generate GLOBAL validation errors using the
> validation.xml file. I know this can be done easily in ActionForm's
> java code like:
Like what kind of "global" validation errors?
Dave
--
Hi Everyone,
I am using Struts 1.2 validation framework where I am using the
following elements to mention validation rules for specific action
properties.
But this only allows me to generate validation errors for specific
ActionForm property names.
I need to
On 10/23/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
(Redirecting response to user list where this type of question belongs...)
You can swap in the new validator version without any changes to the
rest of your application; the commons-validator team run a regression
test at the binary level. This
(Redirecting response to user list where this type of question belongs...)
You can swap in the new validator version without any changes to the
rest of your application; the commons-validator team run a regression
test at the binary level. This page has a complete list of what jars
need to be upd
Givler, Eric wrote:
But can't you just define a message specific to the field and validator for
each definition in the validations.xml file?
min0
max50
Yes, yes I can... good old struts documentation. :) I fi
Sent: Tuesday, July 25, 2006 11:10 PM
To: Struts Users Mailing List
Subject: (Struts validation) Different message resource keys rather than
placeholders
The validator, by default uses stuff like this:
errors.required={0} is required.
I'd like to be able to use entirely different message keys
The validator, by default uses stuff like this:
errors.required={0} is required.
I'd like to be able to use entirely different message keys depending on
the field, rather than always using errors.required. The solution for
the "required" validator was to simply use a passthrough key like this
4, 2006 9:38 AM
To: user@struts.apache.org
Subject: Struts validation question
I want to use struts validation,when field is invalidate,my program can
raise information,like follows:
Username is required.
Password is required.
Phone Number is required.
I know it's server-side validation,I wan
I want to use struts validation,when field is invalidate,my program can
raise information,like follows:
Username is required.
Password is required.
Phone Number is required.
I know it's server-side validation,I want to use client-side validation,so I
put some code in my JSP files:
When
Hi
I have a single form shared among a few jsp pages. Each jsp references
the following after their form tag:
Jsp0.jsp
Jsp1.jsp
The corresponding validation.xml is:
mask
${workorder
1 - 100 of 174 matches
Mail list logo