Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

struts Config.xml file and external urls.

843836May 3 2005 — edited May 5 2005
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2005
Added on May 3 2005
4 comments
375 views