You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jm...@apache.org on 2003/03/09 17:04:53 UTC

cvs commit: jakarta-struts/web/test/test/org/apache/struts/taglib/bean TestIncludeTag.jsp

jmitchell    2003/03/09 08:04:53

  Modified:    web/test/test/org/apache/struts/taglib/bean
                        TestIncludeTag.jsp
  Log:
  Fix Include to to assume the context is '/test'
  
  Revision  Changes    Path
  1.2       +2 -1      jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestIncludeTag.jsp
  
  Index: TestIncludeTag.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestIncludeTag.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIncludeTag.jsp	22 Feb 2003 02:57:36 -0000	1.1
  +++ TestIncludeTag.jsp	9 Mar 2003 16:04:52 -0000	1.2
  @@ -1,6 +1,7 @@
   <%@ page contentType="text/html;charset=UTF-8" language="java" %>
   <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
   <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
   
   <logic:equal name="runTest" value="testIncludeTagForward">
   	<bean:include id="INCLUDE_TAG_KEY" forward="testIncludeTagForward"/>
  @@ -9,7 +10,7 @@
   
   <logic:equal name="runTest" value="testIncludeTagHref">
   	<bean:define id="serverAddress">
  -	http://<%=request.getServerName()%>:<%=request.getServerPort()%>/test/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp
  +	http://<%=request.getServerName()%>:<%=request.getServerPort()%><html:rewrite page="/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
   	</bean:define>
   	<bean:include id="INCLUDE_TAG_KEY" href="<%=serverAddress%>"/>
   </logic:equal>
  
  
  

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


RE: cvs commit: jakarta-struts/web/test/test/org/apache/struts/taglib/bean TestIncludeTag.jsp

Posted by James Mitchell <jm...@apache.org>.
>   Fix Include to to assume the context is '/test'

Should have been...

>   Fix Include to not assume the context is '/test'
                   ^^^


--
James Mitchell
Software Developer/Struts Evangelist
http://jakarta.apache.org/struts

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
    - Soren Aabye Kierkegaard (1813-1855)




> -----Original Message-----
> From: jmitchell@apache.org [mailto:jmitchell@apache.org] 
> Sent: Sunday, March 09, 2003 11:05 AM
> To: jakarta-struts-cvs@apache.org
> Subject: cvs commit: 
> jakarta-struts/web/test/test/org/apache/struts/taglib/bean 
> TestIncludeTag.jsp
> 
> 
> jmitchell    2003/03/09 08:04:53
> 
>   Modified:    web/test/test/org/apache/struts/taglib/bean
>                         TestIncludeTag.jsp
>   Log:
>   Fix Include to to assume the context is '/test'
>   
>   Revision  Changes    Path
>   1.2       +2 -1      
> jakarta-struts/web/test/test/org/apache/struts/taglib/bean/Tes
> tIncludeTag.jsp
>   
>   Index: TestIncludeTag.jsp
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-struts/web/test/test/org/apache/struts/tagli
> b/bean/TestIncludeTag.jsp,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- TestIncludeTag.jsp	22 Feb 2003 02:57:36 -0000	1.1
>   +++ TestIncludeTag.jsp	9 Mar 2003 16:04:52 -0000	1.2
>   @@ -1,6 +1,7 @@
>    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
>    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
>    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>   +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>    
>    <logic:equal name="runTest" value="testIncludeTagForward">
>    	<bean:include id="INCLUDE_TAG_KEY" 
> forward="testIncludeTagForward"/>
>   @@ -9,7 +10,7 @@
>    
>    <logic:equal name="runTest" value="testIncludeTagHref">
>    	<bean:define id="serverAddress">
>   -	
> http://<%=request.getServerName()%>:<%=request.getServerPort()
%>/test/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp
  +
http://<%=request.getServerName()%>:<%=request.getServerPort()%><html:re
write
page="/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/
>
   	</bean:define>
   	<bean:include id="INCLUDE_TAG_KEY" href="<%=serverAddress%>"/>
   </logic:equal>
  
  
  

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


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