2015-10-29 22:37 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> Hello,
>I'm trying to use @RegexFieldValidator to validate a parameter that can
> have multiple values. It seems that the class RegexFieldValidator can only
> be used for a single String, not an String[]. Can someone confirm it, and
> if so,
Struts version?
2015-10-27 13:48 GMT+01:00 Christopher Cheng :
> It always happen that when I pass a string to an int of the variable of an
> action or the action throws an exception, Struts throws a
> NoSuchMethodException
> It is impossible to debug, is there anyway to make it at least the log
Looks like a bug in 2.5. The Login action is defined as follow
which means any method should be allowed - I'm going to check that
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2015-10-28 12:21 GMT+01:00 Chris :
> Hello,
>
> I have some problems with the "new" mailreader sample
It works, just fetched the latest version and everything is ok, no
errors, exceptions. Please check if you are using the latest version
from Git
2015-10-30 8:42 GMT+01:00 Lukasz Lenart :
> Looks like a bug in 2.5. The Login action is defined as follow
>
>
>
> which means any method should be allo
My bad, was using BETA1 :(
2015-10-30 8:50 GMT+01:00 Lukasz Lenart :
> It works, just fetched the latest version and everything is ok, no
> errors, exceptions. Please check if you are using the latest version
> from Git
>
> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart :
>> Looks like a bug in 2.5. The
Fixed, thanks!
2015-10-30 8:52 GMT+01:00 Lukasz Lenart :
> My bad, was using BETA1 :(
>
> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart :
>> It works, just fetched the latest version and everything is ok, no
>> errors, exceptions. Please check if you are using the latest version
>> from Git
>>
>> 2015-1
Good morning,
I am following the next Struts2 example:
https://struts.apache.org/docs/wildcard-method-selection.html
The problem with that example is that method execute is not found with the
struts.xml configuration shown there (Could not find action or result:
/wildcard-method-selection
Works with http://localhost:8080/wildcard-method-selection/Person.action,
here you have source
https://github.com/apache/struts-examples/tree/master/wildcard-method-selection
This url is wrong
http://localhost:8080/wildcard_method_selection/Person.action - updated wiki
2015-10-30 10:08 GMT+01:00
Hello,
That's not the problem, I had already realized that. The issue is that the
wildcard selection does not work with that URL
(http://localhost:8080/wildcard-method-selection/Person.action) unless I
specifically add the next declaration in struts.xml:
/edit.jsp
But it does wor
As I said, it works, check this out
https://github.com/apache/struts-examples/blob/master/wildcard-method-selection/src/main/resources/struts.xml#L19-L22
Struts version?
2015-10-30 10:49 GMT+01:00 Daniel Hernáez :
> Hello,
>
> That's not the problem, I had already realized that. The issue is tha
Hi,- I'll try soon
- But Git Hub says "Already up-to-date"
- And I saw
a écrit :
Fixed, thanks!
2015-10-30 8:52 GMT+01:00 Lukasz Lenart :
> My bad, was using BETA1 :(
>
> 2015-10-30 8:50 GMT+01:00 Lukasz Lenart :
>> It works, just fetched the latest version and everything is ok, no
>> erro
It was bug in Struts, so you must use the latest SNAPSHOT
2015-10-30 10:57 GMT+01:00 Chris :
> Hi,- I'll try soon
> - But Git Hub says "Already up-to-date"
> - And I saw real problem.
> - like the "problem" with a wrong path /pages/Error.jsp instead
> /WEB-INF/jsp/Error.jsp
> - the problem is :
I changed to 2.3.24.1 and I am getting a different error now:
"There is no Action mapped for namespace [/] and action name [Person]
associated with context path [/wildcard-method-selection]."
I just changed the filter in web.xml to adapt the new version
(org.apache.struts2.dispatcher.ng.filter.
Daniel
It is a different topic, not really related to your issue.
2015-10-30 11:34 GMT+01:00 Daniel Hernáez :
> I changed to 2.3.24.1 and I am getting a different error now:
>
> "There is no Action mapped for namespace [/] and action name [Person]
> associated with context path [/wildcard-method
Hello,
https://github.com/apache/struts-examples/tree/master/mailreader changed 26
days ago
http://wwwftp.ciril.fr/pub/apache//struts/2.5-BETA2/struts-2.5-BETA2-all.zip
The problem is still there.
I downloaded again and again, the GitHub mailreader example, and the Struts2.5
BETA2 all
The fix isn't available in the latest BETA2 package, but in SNAPSHOT.
Change version to 2.5-SNAPSHOT and add snapshot repository to pom.xml
apache.snapshots
ASF Maven 2 Snapshot
https://repository.apache.org/content/groups/snapshots/
https://struts.apache.org/
PS : I will not change my old struts-mailreader sampleBut there is some
differences in mailreader-support.xml file :
old version
/Login.jsp Welcome
MainMenu ChangePassword
New version ( doesn't work ) The new jsp f
Thanks,
That is true , I missed to speak about SNAPSHOTS , because I didn't understand
what it means.I'll try.
Regards,
Chris
Le Vendredi 30 octobre 2015 16h01, Chris a écrit :
PS : I will not change my old struts-mailreader sampleBut there is some
differences in mailreader-suppo
>
> It was bug in Struts, so you must use the latest SNAPSHOT
>I'm sorry , I don't know how I can use Snapshots.
Le Vendredi 30 octobre 2015 16h06, Chris a écrit :
Thanks,
That is true , I missed to speak about SNAPSHOTS , because I didn't understand
what it means.I'll try.
Regard
19 matches
Mail list logo