I added a paragraph to the Changes chapter of the documentation, reproduced below. You can look at the web.xml file located in distribution ZIP file for an example:
examples/struts/descriptors/distrib/web.xml
In a nutshell, you have to move all init-param elements for the OXF servlet to the beginning of the file, and rename them context-param.
1.4 Deployment descriptor
The Web application deployment descriptor, web.xml changed significantly with the 2.0 release. The OXF initialization parameters are now declared in context-param elements instead of servlet/init-param elements. The OXF engine can be used from a variety of sources and the initialization parameters must be accessible from a servlet, filter or context listeners.
Regards, Julien
Crishantha Nanayakkara wrote:
Hi,
We are in the process of upgrading one of our applications from OXF 1.5.2 to OXF 2.0. And we are experiencing some difficulties due to substantial amount of configuration file changes in the latest version.(OXF 2.0) (P.Note: We are using struts-oxf integration)
For example, web.xml has quite a lot of changes comparing to the previous version.
If you can send us a list of changes done in configuration files it would be a great help for us.
Thanks and Regards Crishantha _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
