Class Overview
This tag is used to create a URL. You can use the "param" tag inside the body to provide additional request
parameters.
Summary
[Expand]
Inherited Constants |
From interface
javax.servlet.jsp.tagext.BodyTag
int |
EVAL_BODY_BUFFERED |
|
int |
EVAL_BODY_TAG |
|
|
From interface
javax.servlet.jsp.tagext.IterationTag
|
From interface
javax.servlet.jsp.tagext.Tag
int |
EVAL_BODY_INCLUDE |
|
int |
EVAL_PAGE |
|
int |
SKIP_BODY |
|
int |
SKIP_PAGE |
|
|
Constants
public
static
final
String
ALL
public
static
final
String
GET
public
static
final
String
NONE
The includeParams attribute may have the value 'none', 'get' or 'all'. It is used when the url tag is used
without a value or page attribute. Its value is looked up on the ValueStack If no includeParams is specified then
'get' is used. none - include no parameters in the URL get - include only GET parameters in the URL (default)
all - include both GET and POST parameters in the URL
Constant Value:
"none"
Public Constructors
Public Methods
public
void
setIncludeContext
(boolean includeContext)
This method is deprecated.
use value instead
public
void
setValue
(String aName)
Protected Methods
protected
String
htmlEscape
(String value)
Template method to allow overriding the HTML escaping of our output
Parameters
value
| the string to HTML escape |
protected
String
urlEncode
(String value)
Template method to allow overriding of the URL encoding used.
Parameters
value
| the string to be URL encoded |
Returns
- a URL encoded string please