You can forget about struts-config.xml file and make your Actions annotated with @StrutsAction and @StrutsForward annotations.
# Introduction #
Add annotations support to your Struts 1.x web applications.
# Details #
1)Copy the struts-annotations.jar to your WEB-INFlib folder.
2)Register the plugin in struts-config.xml
>
Unknown end tag for
> >
>
3)Have fun using @StrutsAction and @StrutsForward
example :
```
package org.joke.actions.security.user.login;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages