You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Naoki Wada <na...@zyyx.jp> on 2003/07/18 09:44:18 UTC

Problem in Multiple Application

Hi.

I making Multiple Application.
But. I have problem.

"<html:link forward="forward2">forward2</html:link>"
 cannot be used in subapplication.

"forward1" can be usually used.
<html:link forward="forward1">forward1</html:link>

but. how to use of "forward2"?

help me.
I'm sorry by poor English. 

Naoki Wada

---- web.xml ----

  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>config/sample</param-name>
      <param-value>/WEB-INF/struts-sample-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
  </servlet>
  
  
---- struts-config.xml ----
<global-forwards>
   <forward name="forward1" path="/forward1.jsp"/>
</global-forwards>


---- struts-sample-config.xml ----
<global-forwards>
   <forward name="forward2" path="/forward2.jsp"/>
</global-forwards>


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