struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kibo <tomasjur...@gmail.com>
Subject Tags url and form
Date Tue, 05 Aug 2008 07:02:31 GMT

Hi konference

when I use this:
------------------------------------------------------------
        <s:url id="url" action="HelloWorld" namespace="/example" >
		 <s:param name="id" value="%{'java'}" />
	</s:url>

	<s:a href="%{url}" >link</s:a>
	
	<s:form action="%{url}" method="post">
		<s:textfield></s:textfield>
		<s:submit></s:submit>
	</s:form>
---------------------------------------------------------------
After render link is good:
&lt;a href="/struts2-blank-2.0.11.2/example/HelloWorld.action?id=java"  &gt;

but in form is failure:
<form id="HelloWorld" onsubmit="return true;"
action="/struts2-blank-2.0.11.2/struts2-blank-2.0.11.2/example/HelloWorld.action?id=java"
method="post">

I get two context patch. Is it bug or do I something no good?

Thanks

-----
Tomas Jurman
Czech Republic
-- 
View this message in context: http://www.nabble.com/Tags-url-and-form-tp18825612p18825612.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message