views:

63

answers:

0

I am attempting to make use of the struts 2 annotations, what I have found is if I deploy the app as a war file everything works fine but if I deploy my war as part of an ear file none of the struts annotations work only the actions defined in struts.xml work.

I can't seem to work out why deploying as a ear file annotations don't work. Has anyone else experienced this problem?

I am using struts 2.1.8 and deploying to Jboss 5

thanks