top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the default suffix for Struts2 action URI and how can we change it?

0 votes
479 views
What is the default suffix for Struts2 action URI and how can we change it?
posted Sep 15, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The default URI suffix for Struts2 action is .action, in Struts1 default suffix was .do. We can change this suffix by defining struts.action.extension constant value in our Struts2 configuration file as:

<constant name="struts.action.extension" value="action,do"></constant>
answer Sep 19, 2017 by Pankaj Singh
...