struts Config.xml file and external urls.
843836May 3 2005 — edited May 5 2005I am writing a small struts application and i am also using tiles. In this in a scenario if the action returns mapstring true, i forward it to a Jsp file. If the action returns false. I want to forward the user to a complete different Url not in my application. Can i give the url of the external site in the forward path of the Action.
<action path="/music/allmusic"
type="com.classical"
name="classicalform"
scope="session">
<forward name="classical" path="/classical/carnatic"/>
<forward name="Movie" path="http://www.ragaa.com"/>
</action>
Can i give a external url in the forward path like this. let me know if this works