struts-config.xml: JDeveloper Automatically Adds Extra Tags During JSP Edit
(Doc ID 2130095.1)
Last updated on FEBRUARY 13, 2020
Applies to:Oracle JDeveloper - Version 126.96.36.199.0 to 188.8.131.52.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.
While using JDeveloper Studio 184.108.40.206.0 on Windows 7 Professional, with Java 1.6.0_29, the following issue was observed:
When a JSP is edited in an app using the editor "Source" tab (even before saving the changes), JDeveloper adds one or more tags to struts-config.xml for the application. Usually this prevents successful deployment of the application in the embedded WebLogic Server, and as a result a 404 error is generated when it launches in the browser and tries to access the application’s start page (the server console gives ClassNotFoundException for DataActionMapping).
The tags it adds to struts-config.xml are:
- <form-bean>, with name DataForm (this happens sometimes)
- <action>, with class DataActionMapping (this seems to happen always, and it usually adds the action to the end of the list)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document