As a addendum, I would like to say, that I have browsed the future struts 
book, but I can not find accurate documentation about JSP links and 
struts-config definition for the paths in the subapplications.

I think would be interesting to include a more detailed example, further 
definition in web.xml of the new struts-config.

Regards,

Adolfo.


>From: "Adolfo Miguelez" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: multiple applications
>Date: Tue, 11 Jun 2002 10:35:01 +0000
>
>Hi All,
>
>We are attempting to use multiple application facility in struts 1.1, but
>however I guess We do not have clear enough the conpcept.
>
>We are able to define the new applicacion in web.xml (or webapp file for 
>VAJ
>supporters) file as a init-parm:
>
><init-parameter>
>       <name>config/segundaapp</name>
>       <value>/secondapp/struts-segcondapp-config.xml</value>
></init-parameter>
>
>We then create a folder /secondapp which, in turns, holds the
>struts-segcondapp-config, and the JSPs.
>
>struts-segcondapp-config looks :
>
>...
><struts-config>
>    <action-mappings>
>       <action         path="/index" forward="/logonearse.jsp"/>
>       <action         path="/logonearse" forward="/logoneado.jsp"/>
>       <action         path="/subir" forward="./index.jsp"/>
>    </action-mappings>
></struts-config>
>
>and we are able to invoke .do(s) and .jsp(s) as, by instance:
>
><html:link page="/logonearse.do">Logonearse en app 2</html:link><br>
>
>
>where the path after JSP compilation looks:
>
>http://localhost:8080/struts/segundaapp/logonearse.do.
>
>All seems to work fine so far. (Assuming that new folder needs to be
>created).
>
>The question is how can I invoke a JSP in the parent folder, i.e. a JSP
>belonging to the default application from the second one.
>If anyone finds also any misuse in the concept, feedback is welcome.
>
>Regards, TIA,
>
>Adolfo.
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




<HTML>
      <HEAD>
             <TITLE>Adolfo's signature</TITLE>
      </HEAD>
      <BODY>
             <center><b><em>Adolfo Rodriguez Miguelez</em><b></center>

      </BODY>
      </HTML>





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to