I am my migrating my Struts 1.1 application to Struts 2.1.
I know that in struts 1 all action urls have .do eg
myLoginAction.do
So can Struts 2 also have action with .do extension?
If yes what is the correct way to that?
Need step by step solution.
Asked
Active
Viewed 245 times
0

Roman C
- 49,761
- 33
- 66
- 176

Mahesh Mandhare
- 23
- 4
-
You should migrate from Struts 1.1 to Struts 2.3.16.1. Otherwise, is a waste of time – Andrea Ligios Mar 27 '14 at 11:36
-
See http://stackoverflow.com/q/20127369/573032 – Roman C Mar 27 '14 at 20:50
1 Answers
0
You can use struts.action.extension
to define acceptable multiple patterns.
The following constant allows actions with the suffixes of "", ".action", or ".do".
<constant name="struts.action.extension" value=",action,do" />

Anupam
- 7,966
- 3
- 41
- 63