I created a new class called RegesterAction but I didn’t keep this class in any package. How can I configure this class in the struts.xml? Below is the struts.xml file but I’m unable to understand the attribute values “default” and struts-default. Answer The package name is completely independent of your code artifacts. The struts-default package is… the Struts 2 default