2013/3/8 john lee :
>
As specified in the docs [1][2], validation file name must match schema:
class-name-validation.xml -> LoginAction-signin-validation.xml
[1]
http://struts.apache.org/development/2.x/docs/validation.html#Validation-DefiningValidationRules
[2]
http://struts
Problem
I use struts2/spring 3 as integration, and need to use struts2
validation.xml as well,
Basically, the action name in the login.jsp/struts.xml is pseudo class name,
but is implemented in
the applicationContext.xml
In order to let validation.xml works, I defined all the possible
XX
Found the problem. No need to create mini struts2 app. Would have posted
this sooner but got a bit busy.
I had JSPs referenced in the frameset. I changed it to actions instead,
created the Actions and mapped the JSPs and Actions in the struts xml.
Example before:
Example af
Try to encode it or manually replace & => %26
http://www.w3schools.com/tags/ref_urlencode.asp
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/3/7 Mohit Gupta :
> i have struts 2 action which has following method
>
> public String viewCustomer() {
> return "ViewCustomer"
Thanks lukasz
On Tue, Mar 5, 2013 at 1:38 AM, Lukasz Lenart wrote:
> 2013/3/4 Mohit Gupta :
> > But incase of redirect all request parameters needs to be passed manually
> > or struts 2 has some built in support for this
>
> There is struts.url.includeParams option but this is per application
> c
I found it myself that itself is the problem. token should
always accompany with a unique name, struts2 always uses the default name
for token field ie *struts.token*. As a conclusion to avoid the below
mentioned problem, we have to add token tag like .
So now my first form having and second one
6 matches
Mail list logo