struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Ramon Diaz" <>
Subject RE: Struts modules question
Date Thu, 27 May 2004 05:59:24 GMT

we have an application with four modules. We have defined four

This allows us to separate application logic in more little applications, as
the whole struts-config would be of 100Kb and it would be very difficult to
manage, I think.

We change of module without problems with several ways:
1) As all the JSPs are in the same directory application (under WEB-INF)
there is no difference calling a JSP (from config-file defined in Action !we
never call JSP directly!) that may contains references to each module.
2) In an Action defined in one module, we can call an action os another
 <action name="actionM1" path="/actionM1" scope="request"
   <forward contextRelative="true" name="openModule2"
   <forward contextRelative="true" name="actionModule3"

I hope this helps...


	Jose R. Diaz

> -----Mensaje original-----
> De: Ashwin Desai []
> Enviado el: jueves, 27 de mayo de 2004 0:13
> Para:
> Asunto: Struts modules question
> Hi,
> I have two modules in my application
> Module A -> default (contains common functionality like logout etc)
> Module B -> specific funtionality developed by a separate team.
> Can actions in module B have access to the ones in Module A ?
> i.e. can I lookup a Struts Action defined in Module A from doing a
> lookup in an Action defined in Module B & vice versa ?
> Do modules in Struts follow any hierarchial structure ?
> Ashwin.
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message