title: What is the default package name for Struts in struts.xml?
body: <p>I created a new class called <code>RegesterAction</code> but I didn't keep this class in any package. How can I configure this class in the <code>struts.xml</code>?</p>
  <p>Below is the <code>struts.xml</code> file but I'm unable to understand the attribute values <code>&quot;default&quot;</code> and <code>struts-default</code>.</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;struts&gt;
      &lt;package name=&quot;default&quot; extends=&quot;struts-default&quot;&gt;
          &lt;action name=&quot;*Register&quot; method=&quot;{1}&quot; class=&quot;RegisterAction&quot;&gt;
              &lt;result name=&quot;populate&quot;&gt;/register.jsp&lt;/result&gt;
  &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>