|Adding a listener to the web.xml [message #764280]
||Sun, 11 December 2011 15:42
| Benjamin Horst
Registered: December 2011
I stumbled over the Faceted Project Framework when my requirement was to develope a "New Project Wizard" for some custom J2EE-portlet project. And I used the tutorial by Konstantin Komissarchik to add files and added Context stuff to the web.xml.
Now I need to add two listeners (org.springframework.web.context.ContextLoaderListener and org.springframework.web.context.request.RequestContextListener) to the web.xml and I am stuck at the very begining of that task.
So my question is: How do I add listeners to the web.xml using a facet?
Should I use the Event Handlers mentioned in Appendix C? Or maybe someone has some example code of a project I could have a look at?
Everything else in the FPF seemed pretty straight forward. I am sure that I am just missing a small thing.
Thanks in advance
[Updated on: Sun, 11 December 2011 15:43]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01416 seconds