At 3:50 PM -0400 5/30/06, Brian Long wrote:
Hi folks - appreciate any input on this one:
I have a menu in a Struts 1.2.9 modularized app.
The menu has links to some jsps and some actions.
When the app is launched, the links all work. However, once I've
navigated into a module, the links all get prefixed with that module,
and the links don't work any more.
Do I have to use a separate menu for each module?
You have to specify that you want the links interpreted relative to a
different module, using the "module" attribute of <html:link>
http://struts.apache.org/struts-action/struts-taglib/tlddoc/html/link.html
The default behavior is to assume that links are within a module, so
when you want to do other than that, you need to be explicit.
Joe
--
Joe Germuska
[EMAIL PROTECTED] * http://blog.germuska.com
"You really can't burn anything out by trying something new, and
even if you can burn it out, it can be fixed. Try something new."
-- Robert Moog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]