My Oracle Support Banner

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 11.1.1.9.0 to 12.1.3.0.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

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

Cause

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
Symptoms
Cause
Solution


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