You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jason Pyeron <jp...@pdinc.us> on 2011/02/16 17:58:41 UTC

Regression in s:url tag

The <s:url var="url" escapeAmp="false"/> execution used to produce (in 2.1.6)
http://host/app/action!method and now produces http://host/app/action.xhtml
droping the method in 2.2.1.1

(sent from my blackberry, sorry for the lack of a JIRA ticket)

-jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.




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


RE: Regression in s:url tag

Posted by Jason Pyeron <jp...@pdinc.us>.
> -----Original Message-----
> From: Dave Newton [mailto:davelnewton@gmail.com] 
> Sent: Wednesday, February 16, 2011 12:24
> To: Struts Developers List
> Cc: Jason Pyeron
> Subject: Re: Regression in s:url tag
> 
> Is dynamic method invocation turned on? 

It left as default, which should be on. grep -r DynamicMethodInvocation .
Produces no results on the src/build tree.

Confirmed against 
http://struts.apache.org/2.x/docs/action-configuration.html#ActionConfiguration-
DynamicMethodInvocation
And 
http://struts.apache.org/2.1.6/docs/action-configuration.html#ActionConfiguratio
n-DynamicMethodInvocation

> Is there a method attribute?

I am using the tag without specifiying the method attribute, exactly as show
below. With out the method attribute, it should include the shebang and method
if the request currently has one. This way a single file.jsp could be used by
several actions/methods and stillp roduce useful links.

Again I just want to clarify, that this was working in 2.1.6, if I revert the
application to 2519 it works, 2520 it does not. Here is the change log:

------------------------------------------------------------------------
r2520 | jpyeron | 2011-02-05 23:03:45 -0500 (Sat, 05 Feb 2011) | 3 lines
Changed paths:
   M /redacted/.classpath
   D /redacted/lib/dist/struts2/struts2-config-browser-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-config-browser-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-convention-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-convention-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-core-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-core-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-dojo-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-dojo-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-dwr-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-dwr-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-jasperreports-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-jasperreports-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-javatemplates-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-javatemplates-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-jfreechart-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-jfreechart-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-junit-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-junit-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-pell-multipart-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-pell-multipart-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-rest-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-rest-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-sitegraph-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-sitegraph-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-sitemesh-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-sitemesh-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-struts1-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-struts1-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-testng-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-testng-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/struts2-tiles-plugin-2.1.6.jar
   A /redacted/lib/dist/struts2/struts2-tiles-plugin-2.2.1.1.jar
   D /redacted/lib/dist/struts2/support/commons-digester-1.8.jar
   A /redacted/lib/dist/struts2/support/commons-digester-2.0.jar
   D /redacted/lib/dist/struts2/support/freemarker-2.3.13.jar
   A /redacted/lib/dist/struts2/support/freemarker-2.3.16.jar
   A /redacted/lib/dist/struts2/support/json-lib-2.1-jdk15.jar (from
/redacted/lib/dist/struts2/support/json-lib-2.1.jar:2515)
   D /redacted/lib/dist/struts2/support/json-lib-2.1.jar
   D /redacted/lib/dist/struts2/support/ognl-2.6.11.jar
   A /redacted/lib/dist/struts2/support/ognl-3.0.jar
   D /redacted/lib/dist/struts2/support/sitemesh-2.3.jar
   A /redacted/lib/dist/struts2/support/sitemesh-2.4.2.jar
   A /redacted/lib/dist/struts2/support/testng-5.1-jdk15.jar (from
/redacted/lib/dist/struts2/support/testng-5.1.jar:2515)
   D /redacted/lib/dist/struts2/support/testng-5.1.jar
   D /redacted/lib/dist/struts2/support/xwork-2.1.2.jar
   A /redacted/lib/dist/struts2/support/xwork-core-2.2.1.1.jar

switch from struts 2.1.6 (with patch from
https://issues.apache.org/jira/browse/WW-3046)
to struts 2.2.1.1 (http://struts.apache.org/2.2.1.1/)

------------------------------------------------------------------------




> 
> Dave
> 
> On Wed, Feb 16, 2011 at 11:58 AM, Jason Pyeron 
> <jp...@pdinc.us> wrote:
> > The <s:url var="url" escapeAmp="false"/> execution used to 
> produce (in 
> > 2.1.6) http://host/app/action!method and now produces 
> > http://host/app/action.xhtml droping the method in 2.2.1.1
> >



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



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


Re: Regression in s:url tag

Posted by Dave Newton <da...@gmail.com>.
Is dynamic method invocation turned on? Is there a method attribute?

Dave

On Wed, Feb 16, 2011 at 11:58 AM, Jason Pyeron <jp...@pdinc.us> wrote:
> The <s:url var="url" escapeAmp="false"/> execution used to produce (in 2.1.6)
> http://host/app/action!method and now produces http://host/app/action.xhtml
> droping the method in 2.2.1.1
>
> (sent from my blackberry, sorry for the lack of a JIRA ticket)
>
> -jason
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

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


Re: Regression in s:url tag [interim workaround]

Posted by Lukasz Lenart <lu...@googlemail.com>.
2011/2/17 Jason Pyeron <jp...@pdinc.us>:
> My kludge / workaround, for now. I am going to track down when the regression
> really happened this week end.

That would be great, fill free to open a new issue for that!


Kind regard
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia http://javarsovia.pl

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


RE: Regression in s:url tag [interim workaround]

Posted by Jason Pyeron <jp...@pdinc.us>.
> -----Original Message-----
> From: Jason Pyeron 
> Sent: Thursday, February 17, 2011 7:53
> To: 'Struts Developers List'
> Subject: RE: Regression in s:url tag
> 
> > -----Original Message-----
> > From: Lukasz Lenart
> > Sent: Thursday, February 17, 2011 6:20
> > To: Struts Developers List
> > Subject: Re: Regression in s:url tag
> > 
> > 2011/2/16 Jason Pyeron <jp...@pdinc.us>:
> > > The <s:url var="url" escapeAmp="false"/> execution used to produce (in 
> > > 2.1.6) http://host/app/action!method and now produces 
> > > http://host/app/action.xhtml droping the method in 2.2.1.1

My kludge / workaround, for now. I am going to track down when the regression
really happened this week end.

+       private String method;
+       public String getMethod(){return method;}
+
+

@@ -131,6 +141,7 @@

        public String index()
        {
+               try{


@@ -149,10 +160,16 @@


                return SUCCESS;
+               }
+               finally
+               {
+                       method="index";
+               }
        }

        public String novlan()
        {
+               try{



@@ -173,18 +190,30 @@


                return SUCCESS;
+               }
+               finally
+               {
+                       method="novlan";
+               }
        }
        public String input()
        {

And then

-<s:url var="url" escapeAmp="false"/>
+<s:url var="url" method="%{method}" escapeAmp="false"/>

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

> -----Original Message-----
> From: Jason Pyeron [mailto:jpyeron@pdinc.us] 
> Sent: Thursday, February 17, 2011 7:53
> To: 'Struts Developers List'
> Subject: RE: Regression in s:url tag
> 
> > -----Original Message-----
> > From: Lukasz Lenart
> > Sent: Thursday, February 17, 2011 6:20
> > To: Struts Developers List
> > Subject: Re: Regression in s:url tag
> > 
> > 2011/2/16 Jason Pyeron <jp...@pdinc.us>:
> > > The <s:url var="url" escapeAmp="false"/> execution used to
> > produce (in
> > > 2.1.6) http://host/app/action!method and now produces 
> > > http://host/app/action.xhtml droping the method in 2.2.1.1
> > 
> > Could you show the whole code example ?
> 
> // this is a sensitive project, I am removing parts, that are 
> not relevant.
> public class IpAction extends ActionSupport implements 
> Preparable , ServletRequestAware { // snip
> 	public String index()
> 	{
> 		//snip
> 		ipList=IpAddress.getList(session, new CriteriaBuilder(){
> 
> 			@Override
> 			public Criteria process(Criteria x)
> 			{
> 				return x
> 				//		.setFetchMode("vlan",
> FetchMode.JOIN)
> 				.setFetchMode("nic", FetchMode.JOIN)
> 				.setFetchMode("nic.device", 
> FetchMode.JOIN)
> 				.setFetchMode("nic.device.domain",
> FetchMode.JOIN)
> 				;
> 			}});
> 		return SUCCESS;
> 	}
> 
> 	public String novlan()
> 	{
> 		//snip
> 		ipList=IpAddress.getList(session, new CriteriaBuilder(){
> 
> 			@Override
> 			public Criteria process(Criteria x)
> 			{
> 				// TODO Auto-generated method stub
> 				return x
> 				.add(Restrictions.isEmpty("vlan"))
> 				.setFetchMode("nic", FetchMode.JOIN)
> 				.setFetchMode("nic.device", 
> FetchMode.JOIN)
> 				.setFetchMode("nic.device.domain",
> FetchMode.JOIN)				
> 				;
> 			}});
> 					
> 		return SUCCESS;
> 	}
> 
> }
> 
> 
> ip.jsp:
> 
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>     pageEncoding="ISO-8859-1"%>
> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib 
> uri="http://displaytag.sf.net" prefix="display" %> <html> 
> <head> <title><s:property value="#title" /></title> </head> 
> <body> <s:url var="url" escapeAmp="false"/>
> 	<div id="container">
> 	     <display:table id="ipList" name="ipList"
> requestURI='<%=((String)request.getAttribute("url")) %>' 
> class="tablesorter"
> sort="list" pagesize="25">
> 		 	<display:column property="ipAddress" 
> title="Ip address"
> sortable="true" />
> 		 	<display:column property="nic.device.hostname"
> title="Host name" sortable="true" href="device!info" 
> paramId="device.id"
> paramProperty="nic.device.id" />
> 		 	<display:column 
> property="nic.device.domain.name"
> title="Domain name" sortable="true" href="device!info" 
> paramId="device.id"
> paramProperty="nic.device.id" />
> 		 	<display:column property="nic.device.assetTag"
> title="Asset tag" sortable="true" href="device!info" 
> paramId="device.id"
> paramProperty="nic.device.id" />
> 		 </display:table>	  
> 	</div>
> </body>
> </html>
> 
> 
> > 
> > 
> > Kind regards
> > --
> > Lukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> > Kapitula Javarsovia http://javarsovia.pl
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For 
> > additional commands, e-mail: dev-help@struts.apache.org
> > 
> > 
> 
> 
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
> 
>  
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For 
> additional commands, e-mail: dev-help@struts.apache.org
> 



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


s:url tag namespace attribute not respected

Posted by Chris Mawata <ch...@mathcove.net>.
Another <s:url> quirk:

In a jsp firstPage.jsp residing in namespace /first if you use a <s:uri>
tag to create an action  url for action go-to-second-page om
namespace /second S2 gives a warning

No configuration found for the specified action:
'/second/go-to-second-page.action' in namespace: '/first'

and fails to find the action.

In short, 
<s:form action="go-to-second-page" namespace="/second" >
...
</s:form>

is not equivalent to 

<s:url id="myURL" action="go-to-second-page" namespace="/second"
includeContext="false" />
<s:form action="%{myURL}" >
	...
</s:form>
==========================================demo========================

struts.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
	<constant name="struts.devMode" value="true" />
	<constant name="struts.convention.action.disableScanning"
value="true" />

	<package name="one" namespace="/first" extends="struts-default">
		<action name="firstPage">
			<result>/WEB-INF/content/first/firstPage.jsp</result>
		</action>
	</package>
	<package name="two" namespace="/second" extends="struts-default">
		<action name="go-to-second-page" >
			<result>/WEB-INF/content/second/success.jsp</result>
		</action>
	</package>

</struts>

===============

/WEB-INF/content/first/firstPage.jsp


<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<body>
		<h3>
			Page 1
		</h3>
		<div>
			<s:form action="go-to-second-page" namespace="/second" >
				<s:textfield label="Title" name="title" size="30" maxlength="30" />
				<s:submit value="Go to success page" />
			</s:form>
		</div>
		<hr/>
		<div>
			<s:url id="myURL" action="go-to-second-page" namespace="/second"
includeContext="false" />
			<s:form action="%{myURL}" >
				<s:textfield label="Title" name="title" size="30" maxlength="30" />
				<s:submit value="Go to success page" />
			</s:form>
		</div>
		
	</body>

</html>

//=====

/WEB-INF/content/second/success.jsp

<html>
	<body>
	<div>
		<h3>
			Success!!
		</h3>
	</div>
	</body>
</html>

//================

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	id="WebApp_ID" version="2.5">
	<display-name>S:URL</display-name>
	<filter>
		<filter-name>struts2</filter-name>
		<filter-class>

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>struts2</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>

</web-app>

//==================
index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
	    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=first/firstPage">
	</head>

	<body>
		<p>Loading ...</p>
	</body>
</html>

===============
Cheers
Chris



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


RE: Regression in s:url tag

Posted by Jason Pyeron <jp...@pdinc.us>.
> -----Original Message-----
> From: Lukasz Lenart 
> Sent: Thursday, February 17, 2011 6:20
> To: Struts Developers List
> Subject: Re: Regression in s:url tag
> 
> 2011/2/16 Jason Pyeron <jp...@pdinc.us>:
> > The <s:url var="url" escapeAmp="false"/> execution used to 
> produce (in 
> > 2.1.6) http://host/app/action!method and now produces 
> > http://host/app/action.xhtml droping the method in 2.2.1.1
> 
> Could you show the whole code example ?

// this is a sensitive project, I am removing parts, that are not relevant.
public class IpAction extends ActionSupport implements Preparable ,
ServletRequestAware
{
// snip
	public String index()
	{
		//snip
		ipList=IpAddress.getList(session, new CriteriaBuilder(){

			@Override
			public Criteria process(Criteria x)
			{
				return x
				//		.setFetchMode("vlan",
FetchMode.JOIN)
				.setFetchMode("nic", FetchMode.JOIN)
				.setFetchMode("nic.device", FetchMode.JOIN)
				.setFetchMode("nic.device.domain",
FetchMode.JOIN)
				;
			}});
		return SUCCESS;
	}

	public String novlan()
	{
		//snip
		ipList=IpAddress.getList(session, new CriteriaBuilder(){

			@Override
			public Criteria process(Criteria x)
			{
				// TODO Auto-generated method stub
				return x
				.add(Restrictions.isEmpty("vlan"))
				.setFetchMode("nic", FetchMode.JOIN)
				.setFetchMode("nic.device", FetchMode.JOIN)
				.setFetchMode("nic.device.domain",
FetchMode.JOIN)				
				;
			}});
					
		return SUCCESS;
	}

}


ip.jsp:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<html>
<head>
<title><s:property value="#title" /></title>
</head>
<body>
<s:url var="url" escapeAmp="false"/>
	<div id="container">
	     <display:table id="ipList" name="ipList"
requestURI='<%=((String)request.getAttribute("url")) %>' class="tablesorter"
sort="list" pagesize="25">
		 	<display:column property="ipAddress" title="Ip address"
sortable="true" />
		 	<display:column property="nic.device.hostname"
title="Host name" sortable="true" href="device!info" paramId="device.id"
paramProperty="nic.device.id" />
		 	<display:column property="nic.device.domain.name"
title="Domain name" sortable="true" href="device!info" paramId="device.id"
paramProperty="nic.device.id" />
		 	<display:column property="nic.device.assetTag"
title="Asset tag" sortable="true" href="device!info" paramId="device.id"
paramProperty="nic.device.id" />
		 </display:table>	  
	</div>
</body>
</html>


> 
> 
> Kind regards
> --
> Lukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Kapitula Javarsovia http://javarsovia.pl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For 
> additional commands, e-mail: dev-help@struts.apache.org
> 
> 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 



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


Re: Regression in s:url tag

Posted by Lukasz Lenart <lu...@googlemail.com>.
2011/2/16 Jason Pyeron <jp...@pdinc.us>:
> The <s:url var="url" escapeAmp="false"/> execution used to produce (in 2.1.6)
> http://host/app/action!method and now produces http://host/app/action.xhtml
> droping the method in 2.2.1.1

Could you show the whole code example ?


Kind regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia http://javarsovia.pl

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