I was just reading Ted's Struts Catalog to improve the building of my struts
based application and I misunderstand the section on 'Use Global Forwards
for all entry points to application'

Also it says 'all links in the application should be to ActionMappings.
Rather than embed the path to
an ActionMapping in a JSP, a link should refer to a Global Forward instead.
This is what I either
misunderstand or can't get to work.

I have a global forward:
<forward name="view" path="/do/view"/>

Now I have a custom tag that would typically generate links to /do/view but
would like to instead use
the global forward name view.

example where n is generated from some set (not using global forward):
<a href="/do/view?item=n">item n</a>
obviously this is the kind of link we're trying to avoid cause it's hard
coded to /do/view

So how do I generate a link that will follow / use the Global Forward?


Thanks

rob


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to