struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naoki Wada" <na...@zyyx.jp>
Subject Problem in Multiple Application
Date Fri, 18 Jul 2003 07:44:18 GMT
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


Mime
View raw message