Developer Tools
JDeveloper
Using Struts 1.2.4 with JDeveloper 10g (9.0.5)
Written by Duncan Mills, Oracle Corporation
Oct 2004
Introduction
Struts is used as the run time page flow controller for most thin client ADF based applications. JDeveloper 10g (9.0.5.2) is shipped with Apache Struts version 1.1, the current production version, in the /jakarta-struts directory.
This tip covers how to replace the default Struts 1.1 implementation with a newer version, specifically Struts 1.2.4. Note that this configuration has not been fully tested and should only be used for evaluation and testing purposes.
What's new in Struts 1.2.4?
.A full list of the new features in the 1.2.4 release is published on the Struts website ( http://struts.apache.org/userGuide/release-notes.html). Most of the changes are minor and will have little impact on applications that utilize ADF data Binding, however, you should take the time to read and understand the implications of the various changes.
Installing Struts 1.2.4 in JDeveloper 10g
The process of installing Struts 1.2.4 is a simple directory drop in - these instructions are valid for JDeveloper 10g 9.0.5.1 and 9.0.5.2.
Once the new version of Struts has been plugged in in this way the IDE will automatically start to use that version and any Applciation that you package up for deployment will be deployed with the new version of the Struts framework.
Known Issues / Restrictions with Struts 1.2.4 and JDeveloper 10g
<action path="/go*"
type="view.Go{1}Action"
parameter="Parameter to {1}">
<forward name="success" path="/page{1}.do"/>
</action>
Will generate the following shape on the diagram:
drmills v2.0