aspose file tools*
The moose likes Struts and the fly likes Problem understanding forward tag in struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem understanding forward tag in struts-config.xml" Watch "Problem understanding forward tag in struts-config.xml" New topic
Author

Problem understanding forward tag in struts-config.xml

Yogesh Gandhi
Ranch Hand

Joined: Dec 05, 2008
Posts: 210
Hello friends,

I have worked a lot in struts, but today I am facing a problem which I am not able to understand.
Hence seeking your help, of any of you guys can make some sense or atleast give me a pointer to look in a direction.
I have a forward name defined for an action in struts-config.xml



My requirement is to modify the final JSP that is being displayed (I need to add one field on JSP).
By this foward name what I understand is that it looks like it is being fowarded to some other Action class (entry for which should be present in struts-config.xml, but it is not present in struts-config.xml)

How do I interpret path=".Rel4Site"? What is the meaning of this? Where should I look it up if not struts-config.xml.

Although I have already checked web.xml for any such entry (I know it doesn't makes any sense for an entry to be there, but still...i've checked web.xml its not there as well)

~
Yogesh
Yogesh Gandhi
Ranch Hand

Joined: Dec 05, 2008
Posts: 210
Got the solution...


It is present in tiles-def-myapp.xml

 
jQuery in Action, 2nd edition
 
subject: Problem understanding forward tag in struts-config.xml