Problems with deploying struts annotations in ear file

Posted by Asif on Stack Overflow See other posts from Stack Overflow or by Asif
Published on 2010-04-09T12:20:03Z Indexed on 2010/04/09 12:23 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about struts

Related posts about java