och, 17. April 2024 07:24
> An: 'Struts Users Mailing List'
> Betreff: AW: Struts2 Validator failing constructor call
>
> Sure. I will try to figure out when it started to fail.
>
> -Ursprüngliche Nachricht-
> Von: Lukasz Lenart
> Gesendet: Mittwoch, 17.
/ff19dfee6f99f1650fc0c2484407d4ed75c2635e
-Ursprüngliche Nachricht-
Von: s.go...@inform-technology.de
Gesendet: Mittwoch, 17. April 2024 07:24
An: 'Struts Users Mailing List'
Betreff: AW: Struts2 Validator failing constructor call
Sure. I will try to figure out when it start
Sure. I will try to figure out when it started to fail.
-Ursprüngliche Nachricht-
Von: Lukasz Lenart
Gesendet: Mittwoch, 17. April 2024 06:35
An: Struts Users Mailing List
Betreff: Re: Struts2 Validator failing constructor call
pt., 12 kwi 2024 o 09:57 napisał(a):
>
> Our pa
pt., 12 kwi 2024 o 09:57 napisał(a):
>
> Our path was 2.3.4.1 -> 2.3.24.1 -> 2.5.xx (2, 26, 30) -> 6.0.0 -> 6.1.1 ->
> 6.1.2.1 -> 6.3.0.2 (but I left out some minor upgrades)
> Currently we are in OpenJDK 17.
And the problem started with 6.3.0.2? Could you revert to 6.2.0 and
check if everything
icht-
Von: Lukasz Lenart
Gesendet: Freitag, 12. April 2024 09:07
An: Struts Users Mailing List
Betreff: Re: Struts2 Validator failing constructor call
pt., 12 kwi 2024 o 08:19 napisał(a):
>
> Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to
> move on to 7
pt., 12 kwi 2024 o 08:19 napisał(a):
>
> Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to
> move on to 7 along with JDK 21 😊
Did you migrate from 6.2 recently? And what Java version do you use?
Cheers
Lulasz
iable
workaround.
Here is the relevant part of the validation config file:
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
... more validators here ...
... more validators here
czw., 11 kwi 2024 o 17:07 napisał(a):
> I have a 10 year old struts2 web application that uses validation with rules
> defined in XML files.
Do you try to migrate to the latest version? What version do you use?
> One of these instantiates a java.util.Date to compare the the value of a bean
> w
Hi group!
I have a 10 year old struts2 web application that uses validation with rules
defined in XML files.
One of these instantiates a java.util.Date to compare the the value of a bean
with the current date:
( employee.birthday == null || employee.birthday.before(new
java.
gt;Sent: Thursday, March 14, 2019 5:42 PM
>To: user@struts.apache.org
>Subject: No Form Found under '' in locale 'en_CA'. A Form Must be defined in
>the
>Commons Validator configuration...
>
>Morning,
>
>I am running into an issue, first let me give y
Morning,
I am running into an issue, first let me give you a high level of the problem.
Main Site: When accessing website users are able to click a button which will
trigger a series of Strut actions and take that user to a confirmation page.
Everything works as it should.
Now our new sc
( or `autowire`) other beans in them.
>
> This validator is working fine which shows the validator is an spring bean:
>
> public class MyValidator(){
>
> @javax.inject.Inject
> private HelperClass aHelperClass;
> }
>
> Now, i want to get th
We are using Struts 2.5 and spring 4. The struts is configured spring as
mentioned in https://struts.apache.org/docs/spring-and-struts-2.html.
The struts `actions` and `validators` are spring managed beans and I can
`inject` ( or `autowire`) other beans in them.
This validator is working fine
Obviously I am speaking to other users as is the case for me, do not have too
much knowledge of the use of these functions. Not to the Struts
conceptors.;-)Be carreful, double equal sign is good for comparaison,...
Le Mercredi 21 octobre 2015 16h15, Chris a écrit :
Hi,Thank, It wor
Hi,Thank, It works with fieldexpression.
I tried this :
personBean.over21
You must be 21 or older
Be carreful, double egal sign is good for comparaison, but only one egal sign
is an affectation !
= = = = = = = = = = = = = = = = = = = = = = = = = = =
I t
2015-10-21 12:22 GMT+02:00 Chris :
> Hi,
>
> I don't know what PRs means. :-)
PR means Pull Request on GitHub - a change from some other user
> I already tried "required" with checkbox, but it doesn't work.
>
> personBean.over21
> You must be 21 or older
>
>
> ...( chec
adio buttons
to give user to make a choice when agree/disagree or 21 or older. Regards,
chris
Le Mercredi 21 octobre 2015 11h53, Lukasz Lenart
a écrit :
2015-10-21 10:41 GMT+02:00 Chris :
> Struts 2.5 BETA2 / form-xml-validation sample / boolean validator /
>
> Hello,
>
2015-10-21 10:41 GMT+02:00 Chris :
> Struts 2.5 BETA2 / form-xml-validation sample / boolean validator /
>
> Hello,
> https://github.com/apache/struts-examples/blob/master/form-xml-validation/src/main/webapp/edit.jsp
> The edit.jsp file contains this line
> but t
Struts 2.5 BETA2 / form-xml-validation sample / boolean validator /
Hello,
https://github.com/apache/struts-examples/blob/master/form-xml-validation/src/main/webapp/edit.jsp
The edit.jsp file contains this line
but the file EditAction-validation.xml doesn't contain a validation for
`^` and `$`, at the beginning/end of the regex?
On Sat, Dec 27, 2014 at 8:10 AM, Yaragalla Muralidhar
wrote:
> Hi Dave,
> when "-1" is getting submited it has to display error msg which is
> not getting displayed. successfully moving to the next page. It is not
> moving
t getting displayed. successfully moving to the next page. It is not
> moving to the input page even.
> Now i have changed the validator to int so everything is working fine.
> but i need regex validator to work even for further validations.
>
> *Thanks and Regards,*
Hi Dave,
when "-1" is getting submited it has to display error msg which is
not getting displayed. successfully moving to the next page. It is not
moving to the input page even.
Now i have changed the validator to int so everything is working fine.
but i need regex validat
On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar
wrote:
>> > validator in the following way but it is not working. Please help.
Define "not working".
--
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnew
Number is fine Dev. But regex validator has to work right. i worked with it
before. Now it is not working. I want to make it work.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
On Sat, Dec 27, 2014 at 6:37 PM, Dave Newton
Why use a regex for what appears to be a number?
On Dec 27, 2014 5:36 AM, "Yaragalla Muralidhar"
wrote:
> i have a select box. by defualt it submits "-1". I want to write a
> validation using regex tosay the selection is mandatory. I have written the
> validator i
i have a select box. by defualt it submits "-1". I want to write a
validation using regex tosay the selection is mandatory. I have written the
validator in the following way but it is not working. Please help.
cannot find
error.branch.required
*Thanks a
i have changed my validator from required to requiredstring and i am
getting the following error. before changing everything is working fine.
what could be the problem?
Dec 26, 2014 2:22:05 PM org.apache.catalina.core.ApplicationDispatcher
invoke
SEVERE: Servlet.service() for servlet jsp threw
we’ve found
>> that the client-side XML email validator always fails in the iOS 7.1 Safari
>> browser. We haven’t tested it iOS 8 yet. However, removing the email
>> validation from the following XML solved the problem.
>>
>>
>>
>>
2014-10-11 4:20 GMT+02:00 John Boyer :
> Hi All:
>
> We’re using the latest version of Struts 2 in production and we’ve found that
> the client-side XML email validator always fails in the iOS 7.1 Safari
> browser. We haven’t tested it iOS 8 yet. However, removing the email
&g
Hi All:
We’re using the latest version of Struts 2 in production and we’ve found that
the client-side XML email validator always fails in the iOS 7.1 Safari browser.
We haven’t tested it iOS 8 yet. However, removing the email validation from the
following XML solved the problem
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
Thanks for the informations
De : Lukasz Lenart
À : Struts Users Mailing List
Envoyé le : Jeudi 19 septembre 2013 7h59
Objet : Re: validator type="regex" : param name is regex , not expression
Sometime ago ... with 2.3.12. I have renamed exp
quot;.
>
> Regards
>
> Chris
>
> ---
>
>
> Done, thanks for reporting!
>
> https://cwiki.apache.org/confluence/display/WW/Form+Validation+Using+XML
>
> 2013/9/16 Chris
>
>> Hi Lukasz,
>>
>> Good example of regex in
>> http://struts.apache.org/developm
rds
Chris
---
Done, thanks for reporting!
https://cwiki.apache.org/confluence/display/WW/Form+Validation+Using+XML
2013/9/16 Chris
> Hi Lukasz,
>
> Good example of regex in
> http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html
,
> and choose bet
Done, thanks for reporting!
https://cwiki.apache.org/confluence/display/WW/Form+Validation+Using+XML
2013/9/16 Chris :
> Hi Lukasz,
>
> Good example of regex in
> http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html ,
> and choose between JavaScript va
Hi Lukasz,
Good example of regex in
http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html ,
and choose between JavaScript validator or Java validator will be another
story .;-)
but the file EditAction-validation.xml seems contain a wrong value.
.
I found it in
https://issues.apache.org/jira/browse/WW-4198
On Tue, Sep 10, 2013 at 5:09 AM, Lukasz Lenart wrote:
> 2013/9/5 Bruno Klava :
> > Hi folks,
> >
> > in Struts 2.3.15 the form-close-validate.ftl template was updated to use
> > the regex field, but there is no such field in
> > com.opensymphony.xwor
2013/9/5 Bruno Klava :
> Hi folks,
>
> in Struts 2.3.15 the form-close-validate.ftl template was updated to use
> the regex field, but there is no such field in
> com.opensymphony.xwork2.validator.annotations.UrlValidator neither a
> default value for it
> in com.opensymphony.xwork2.validator.valid
Hi folks,
in Struts 2.3.15 the form-close-validate.ftl template was updated to use
the regex field, but there is no such field in
com.opensymphony.xwork2.validator.annotations.UrlValidator neither a
default value for it
in com.opensymphony.xwork2.validator.validators.URLValidator (like is done
in
I dont know which DTD reference in which validator.xml is going fubar
assume the dtd is co-located in same folder where Login-validation.xml is
located at
/pathToLoginValidationXML/xwork-validator-1.0.2.dtd
you would need to change the http protocol to file protocol in the specified
Hi Srikanth:
That fixed it. Thank you!
John
On Aug 7, 2013, at 10:41 AM, Sreekanth S. Nair
wrote:
> use this
>
>"-//Apache Struts//XWork Validator 1.0.2//EN"
> "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
>
I don't know if it's the latest, but
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd appears to work.
(*Chris*)
On Wed, Aug 7, 2013 at 10:36 AM, John Boyer wrote:
> Hi Martin:
>
> Okay, but my validation XML is pointing to
> http://www.opensymphony.com/xwork/xwo
use this
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
--
Regards
Srikanth
On Wed, Aug 7, 2013 at 11:06 PM, John Boyer wrote:
> Hi Martin:
>
> Okay, but my validation XML is pointing to
> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd,
Hi John
xwork-validator-1.0.2.dtd *should* be in xwork-core-.jar
jar -tvf xwork-.jar | grep xwork-validator
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie
Hi Martin:
Okay, but my validation XML is pointing to
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no longer
available. What should it point to now?
Thanks, John
---
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
Try changing you xxx-validation.xml file dtd url declaration with the
latest available dtd inside xwork-core.jar
--
Thanks & Regards
Srikanth
On Wed, Aug 7, 2013 at 10:44 PM, John Boyer wrote:
> Hi:
>
> Suddenly, in-production, we're getting file-not-found errors for the
Hi:
Suddenly, in-production, we're getting file-not-found errors for the
xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork.
How can resolve this problem? We're running Struts 2 v2.3.4.1
Thanks, John
-
10:01:18 ERROR h
Thanks.
Do you know how can I change below message:
Invalid field value for field "amount" ?!
~Regards,
~~Alireza Fattahi
From: Dave Newton
To: Struts Users Mailing List
Sent: Saturday, 13 July 2013, 16:16
Subject: Re: Int Validator
The f
The field value error comes from the type conversion process. The field
should be an int or an Integer, with the caveat that an int has a default
value of 0, which may not be desirable.
Save
On Jul 12, 2013 11:56 PM, "Alireza Fattahi" wrote:
> Hi,
>
> I want to validate the amount filed to be a
Hi,
I want to validate the amount filed to be an integer with minimum value of 1
I describe the field type as Integer (not int )
Add below validation rule
${getText("validate.required")}
10
${getText("validate.int.min")}
Hi, the goal that I'm trying to reach is to reduce the number of variables
and method into the Struts action to improve code readability and
maintainability.
I'm using hibernate, so I could obtain a good synergy if i can set value
coming from parameters directly into the hibernate model bean, maint
ic User getUser() {
> if (user == null)
> user = new User();
> return user;
> }
>
> @RequiredStringValidator(key="fieldError.required", message = "*")
> @EmailValidator (key="fieldError.emailFormat", message="*")
> public void set
ailFormat", message="*")
public void setEmail(String email) {
getUser().setEmail(email);
}
My bean receives data but validators stop to function, so I receive bad
validation messages
Does validator need a getter (not present also in the first release) or use
reflecti
ll return a boolean false if any
> character that is typically used in sql injection is found).
>
> Each of my form classes has a validator() method. I was thinking of
> creating my own abstract form class
>
> public abstract MyBaseForm() extends DynaValidatorForm {
>
>
ation for sql
> injection attacks (I need a method that will return a boolean false if any
> character that is typically used in sql injection is found).
>
> Each of my form classes has a validator() method. I was thinking of
> creating my own abstract form class
>
> pu
I have to add checking each and every form field in my application for
sql injection attacks (I need a method that will return a boolean false
if any character that is typically used in sql injection is found).
Each of my form classes has a validator() method. I was thinking of
creating my
Struts looks for the Validator configuration based on a key. The key is
selected by the form. The key can either be the URI
(DynaValidatorActionForm) or the Form Name (DynaValidatorForm).
Your config file is obviously using bean names:
So you need the correct Form superclass to select by bean
Given my struts-config.xml entry in the previous post: what is the
validator-users.xml entry supposed to look like? In other words what is
wrong with my validator-users.xml file such that what is needed to be
changed to get this to work?
thanks for all the help.
--
View this message in
I am not sure I understand.
--
View this message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712261.html
Sent from the Struts - User mailing list archive at Nabble.com
at superclass,
> your Validator XML contents must change to this:
>
>
>
> Otherwise, switch your base class to DynaValidatorForm and keep your
> Validator XML contents as-is.
>
> Paul
>
> On Thu, Mar 21, 2013 at 3:57 PM, J.V. wrote:
>
>>
>> Is DynaValidatorActi
As I said, DynaValidatorActionForm validates by looking for the matching
URI in the Struts Config. If you want to continue using that superclass,
your Validator XML contents must change to this:
Otherwise, switch your base class to DynaValidatorForm and keep your
Validator XML contents as-is
:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712258.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
have a working example where YourAction.java extends Action
> and this action uses YourForm.java where DynaValidatorActionForm is used?
>
> I have an app (Struts 1.3), that I want to move away from using
> MyForm.java / validator() method to declarative form validation using
> Apache Comm
), that I want to move away from using
MyForm.java / validator() method to declarative form validation using
Apache Commons Validator project but have toiled and toiled to get it to
work.
Any help would be greatly appreciated.
thanks
J.V
>
>
>
>
> On Tue, Mar 19, 2013 at 3:50 PM, Muralidhar Yaragalla <
> java.yaraga...@gmail.com> wrote:
>
> > This is how i did
> >
> > 1.0.2//EN" "
> > http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
> >
> >
Yes I did. Not only this to that matter a simple reg which is shown in docs
also did not work. so i concluded that validator itself is not working. I
dont know why?
On Wed, Mar 20, 2013 at 4:23 AM, Chris Pratt wrote:
> Muralindhar,
> I just realized I forgot the + from your original
Try:
[^<>]+
(*Chris*)
On Tue, Mar 19, 2013 at 3:50 PM, Muralidhar Yaragalla <
java.yaraga...@gmail.com> wrote:
> This is how i did
>
> http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
>
>
>
>
>
that you suggested but it did not work.
> any way i am fed up understanding that validator so i have written my own
> and it works fine. Thanks all of you for helping me.
>
>
> On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt >wrote:
>
> > I'm pretty sure you can
This is how i did
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
The value of bar2 must be in the format
where x and y are between 0 and 9
Almost I have tried all the suggested combination by the members. It did
not work.
On Wed
2013/3/19 Dave Newton :
> This is fun.
don't push ;-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@st
This is fun.
On Tue, Mar 19, 2013 at 6:29 PM, Lukasz Lenart wrote:
> 2013/3/19 Muralidhar Yaragalla :
> > are u asking me to show how i have written custom validator for regex?
>
> Nope, how did you configure built-in regex validator, the *-validation.xml
> file
>
>
2013/3/19 Muralidhar Yaragalla :
> are u asking me to show how i have written custom validator for regex?
Nope, how did you configure built-in regex validator, the *-validation.xml file
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org
are u asking me to show how i have written custom validator for regex?
On Wed, Mar 20, 2013 at 3:50 AM, Lukasz Lenart wrote:
> 2013/3/19 Muralidhar Yaragalla :
> > I am not sure who is "toy".
>
> *you
>
>
> Regards
> --
> Łukasz
>
2013/3/19 Muralidhar Yaragalla :
> I am not sure who is "toy".
*you
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: use
I am not sure who is "toy".
On Wed, Mar 20, 2013 at 3:44 AM, Lukasz Lenart wrote:
> 2013/3/19 Muralidhar Yaragalla :
> > i use struts 2.3.12
>
> Could you show how did toy define regex validator? As I said,
> expression param name was changed to regex
>
>
>
2013/3/19 Muralidhar Yaragalla :
> i use struts 2.3.12
Could you show how did toy define regex validator? As I said,
expression param name was changed to regex
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
i use struts 2.3.12
On Wed, Mar 20, 2013 at 3:15 AM, Lukasz Lenart wrote:
> 2013/3/19 Muralidhar Yaragalla :
> > something like "apple<>" (without quotes).
>
> Which version of Struts do you use?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---
sorry for my comment. what you said is right. Thank you for that info.
On Wed, Mar 20, 2013 at 3:04 AM, Lukasz Lenart wrote:
> 2013/3/19 Muralidhar Yaragalla :
> > As far as i remember commons logging is one of the implementation of
> log4j.
> > but xworks classes does not use log4j. I am saying
2013/3/19 Muralidhar Yaragalla :
> something like "apple<>" (without quotes).
Which version of Struts do you use?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.a
2013/3/19 Paul Benedict :
> Did you add the ^ and $ like I suggested?
Is really not needed, I have tested with the Showcase app, just modify
FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml
and you can see the desired behaviour
Regards
--
Łukasz
+ 48 606 323 122 http://
Did you add the ^ and $ like I suggested?
On Tue, Mar 19, 2013 at 4:34 PM, Muralidhar Yaragalla <
java.yaraga...@gmail.com> wrote:
> something like "apple<>" (without quotes).
>
>
> On Wed, Mar 20, 2013 at 3:02 AM, Paul Benedict
> wrote:
>
> > What input value are you testing against the regex?
something like "apple<>" (without quotes).
On Wed, Mar 20, 2013 at 3:02 AM, Paul Benedict wrote:
> What input value are you testing against the regex?
>
> On Tue, Mar 19, 2013 at 4:28 PM, Muralidhar Yaragalla <
> java.yaraga...@gmail.com> wrote:
>
> > As far as i remember commons logging is one
2013/3/19 Muralidhar Yaragalla :
> As far as i remember commons logging is one of the implementation of log4j.
> but xworks classes does not use log4j. I am saying this because i have used
> the log that comes from the super class which is a xworks class and that is
> not of log4j.
No, is not. com
What input value are you testing against the regex?
On Tue, Mar 19, 2013 at 4:28 PM, Muralidhar Yaragalla <
java.yaraga...@gmail.com> wrote:
> As far as i remember commons logging is one of the implementation of log4j.
> but xworks classes does not use log4j. I am saying this because i have used
As far as i remember commons logging is one of the implementation of log4j.
but xworks classes does not use log4j. I am saying this because i have used
the log that comes from the super class which is a xworks class and that is
not of log4j.
On Wed, Mar 20, 2013 at 2:53 AM, Lukasz Lenart wrote:
I have modified the Showcase app and defined regexp as and everything works as expected.
But I noticed one thing, I have renamed expression param into regex in
2.3.12, the question is which version do you use?
http://struts.apache.org/development/2.x/docs/regex-validator.html
Regards
--
Łukas
2013/3/19 Muralidhar Yaragalla :
> I have added the following to log4j
>
> log4j.logger.com.opensymphony.xwork2.validator.validators=debug
>
> But it doe not print anything on console. The logger was set for console
> and for file.(both appenders)
Log4j is supported throughout commons-logging
Re
ther validators are working fine except regex.
> >
> >
> > On Wed, Mar 20, 2013 at 2:21 AM, Paul Benedict
> > wrote:
> >
> > > When the validator isn't working, it could signify none of your
> > validation
> > > is working. Have
nedict
> wrote:
>
> > When the validator isn't working, it could signify none of your
> validation
> > is working. Have you tried the "required-string" validator or anything
> else
> > is working?
> >
> > Paul
> >
> > On Tue, Mar 19
Hi, All the other validators are working fine except regex.
On Wed, Mar 20, 2013 at 2:21 AM, Paul Benedict wrote:
> When the validator isn't working, it could signify none of your validation
> is working. Have you tried the "required-string" validator or anything else
&
When the validator isn't working, it could signify none of your validation
is working. Have you tried the "required-string" validator or anything else
is working?
Paul
On Tue, Mar 19, 2013 at 3:49 PM, Muralidhar Yaragalla <
java.yaraga...@gmail.com> wrote:
> Nothing
Nothing works. I am not sure why? but then I am good with my custom
validator for regex. One note is that xwork classes dont use log4j for
logging.
On Wed, Mar 20, 2013 at 2:09 AM, Paul Benedict wrote:
> [^<>] means any character that is not the angled brackets. This is
> correc
tried with the regex that you suggested but it did not work.
> any way i am fed up understanding that validator so i have written my own
> and it works fine. Thanks all of you for helping me.
>
>
> On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt >wrote:
>
> > I'm pret
Hi Chris, I tried with the regex that you suggested but it did not work.
any way i am fed up understanding that validator so i have written my own
and it works fine. Thanks all of you for helping me.
On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt wrote:
> I'm pretty sure you can
1 - 100 of 1919 matches
Mail list logo