Thanks. I have found out that unless you switch from one module to another
explicitly using say SwitchAction, the configurations like action mappings,
formbeans etc will not be available to you. So if the jsp is using some
tags, and other information thats dependent on these configurations, I will
not be able call that jsp directly also.

/Ashwani



 



-----Original Message-----
From: Bill Siggelkow [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 7:29 PM
To: user@struts.apache.org
Subject: Re: using modules


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to