My Oracle Support Banner

struts-config.xml: JDeveloper Automatically Adds Extra Tags During JSP Edit (Doc ID 2130095.1)

Last updated on OCTOBER 18, 2021

Applies to:

Oracle JDeveloper - Version to [Release Oracle11g to 12c]
Information in this document applies to any platform.


While using JDeveloper Studio 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.