Search code examples
strutscdi

CDI Portable Extension for Struts 1.3?


here's an idea i have been playing with for a while.

is it possible to mix CDI and Struts 1.3 ?

E.g. via a CDI Portable Extension..?

As for 'why', there are still a few projects 'out there' which are stuck on an old stack and don't have the option to switch to struts 2..

Just throwing it out there, i'm interested in your ideas =)

greetings from germany


Solution

  • I just committed my library to github, called struts-cdi. You should check it out.

    https://github.com/reegnz/struts-cdi

    It only works with Struts Actions for now, and not with ActionForms. If the need arises, I will also try to do container managed ActionForms. :^)