Hello,
I have a little problem the Struts config editor.
To be able to use redirect for input for my actions, I put the parameter inputForward=”true” in my controller configuration.
If I have to define an input for an action, I create a local forward with the name inputRedirect and put it as a reference in my input like this:
<action
path="/saveUserProfile"
type="com.toto.SaveUserProfileAction"
validate="true"
input="inputRedirect">
<forward name="inputRedirect" path="/displayUserProfile.do" redirect="true" />
<forward name="success" path="/home.do" redirect="true"/>
</action>
This way I can use redirect for inputs. This is working very well. My problem is that the Struts Editor displays the inputRedirect forward as a new small blue box (with an earth icon, with the label url: inputRedirect) instead of linking to my existing action displayUserProfile. Sorry but I can’t post an image from here…
It seems that the editor is not resolving the input <-> forward association when the inputForward parameter is true. Is this a bug or am I wrong here ?
Grettings,
Wis
*** Date: Tue Oct 11 10:09:35 CEST 2005
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_04
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 4.0.2 GA
Build id: 20051010-4.0.2-GA
*** Eclipse details:
Eclipse SDK
Version: 3.1.1
Build id: M20050929-0840
Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840
Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840
Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840
Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840
Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\developpement\outils\eclipse-3.1.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
a28_58
-vm
C:\WINDOWS\system32\javaw.exe