Hello to all,
I have a problem with loading a resource file for a written action to struts 2.
Basically I put together action and resource files with the same name, but this does not load.
Below is the structure of the site:

src/package/LoginAction.java
src/package/LoginAction.properties

Jsp
<s:form action="login.action" method="post" validate="true">
<%-- <s:i18n name="LoginAction"> --%>
<s:textfield name="username" key="label.username" size="20" />
<sassword name="password" key="label.password" size="20" />
<s:submit method="execute" key="label.login" align="center" />
<%-- </s:i18n> --%>
</s:form>

The messages do not appear, either by using the tag "s:i18n" that without

Where am I doing wrong?

In the classpath I also have a global.properties mapped in struts.xml that is properly loaded.

Thanks to all