Note |
---|
Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works. |
Note |
---|
The |
Description
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.URL} |
Setting a default value for includeParams
The property struts.url.includeParams can be used to set the default value of the includeParams attribute.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<struts>
...
<constant name="struts.url.includeParams" value="none" />
...
</struts>
|
See Constant Configuration for further information.
Info |
---|
As of Struts 2.1.3 the |
Parameters
Wiki Markup |
---|
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/url.html} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.components.URL} |
url
...
Attribute
...
Type
...
Required
...
Default
...
Description
...
id
...
string
...
FALSE
...
...
...
value
...
string
...
FALSE
...
...
...
scheme
...
string
...
FALSE
...
...
...
encode
...
boolean
...
FALSE
...
...
...
includeParams
...
string
...
FALSE
...
...
...
includeContext
...
boolean
...
FALSE
...
...