You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kalra, Ashwani" <as...@capgemini.com> on 2005/02/10 14:03:48 UTC

using modules

hi,
I have configured one module "module1" apart from the default module. Can I
navigate to the jsp files directly  in that module or I have to always make
a switch from default to module1 and vice versa ?

Here is my directory structure
rootContext\file1.jsp
rootContext\module1\file2.jsp

Thanks
Ashwani






This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: using modules

Posted by Bill Siggelkow <bi...@bellsouth.net>.
You should *not* navigate directly to that page; instead you need to go 
through an Action; the only way that Struts will switch the module is if 
  the request is processed by the Struts RequestProcessor. While the JSP 
might display when accessing it directly, any module-specific resources 
(e.g. using <bean:message> to access module-specific MessageResources) 
will not resolve to the other module.

-Bill Siggelkow

Kalra, Ashwani wrote:

> hi,
> I have configured one module "module1" apart from the default module. Can I
> navigate to the jsp files directly  in that module or I have to always make
> a switch from default to module1 and vice versa ?
> 
> Here is my directory structure
> rootContext\file1.jsp
> rootContext\module1\file2.jsp
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org