No problem - I did see your message but after I sent my reply.
Initially I thought no-one had replied to Brian's OP.
Unfortunately your posts are not threading with the other posts on the
topic - I think you need to set your email software to include some
header or other -
References:
<[EMAIL PROTECTED]>
In-Reply-To:
<[EMAIL PROTECTED]>
Something like that.
Rgds
Adam
Brian Holzer on 16/11/05 20:23, wrote:
Hey Adam,
Please ignore my previous reply as I got confused that you were
responding to Brians original message rather than my earlier response.
Brian
>>> Adam Hardy <[EMAIL PROTECTED]> 16/11/2005 1:43:27 pm >>>
Brian Sayatovic/AMIG on 14/11/05 23:48, wrote:
> I ran into an instance where an Action in module A is forwarding to a
page
> that is designed for module B. However, the resources that the page sees
> are the resources from module A.
>
> I'm using Struts 1.1. I've goine through the source quite a bit. It seems
> the ModuleConfig and resources for a module are set when the
ActionServlet
> calls RequestUtils.selectModule(...). This is fine for the action being
> processed. However, if I then forward to a page that's intended to
work in
> another module, it still finds the module information from the Action's
> module in the request attributes. I don't see anything else that calls
> selectModule or otherwise sets up the info.
>
> Is it not recommended to forward to pages built for other modules? If so,
> what is the work around? I considered action chaining to an action in
> module B, but I've been ridiculed for considering action chaining in the
> past.
Brian,
don't take it as ridicule but what are doing with your JSPs that make
them module-aware? I don't think they are. Modularisation of struts
concerns the configuration of multiple struts-config.xml, tiles-defs.xml
and validation.xml files.
I am 90% sure that JSPs are blind to the module they are in. True, you
can put them in a directory with the module name, but that has no effect.
What module info are you refering to?
Adam
**********DISCLAIMER**********
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the named addressee, please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that using, disclosing, copying or
distributing the contents of this information is strictly prohibited.
**********DISCLAIMER**********
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]