5.5 The c:param Action

   

5.5 The <c:param> Action

The <c:param> action specifies a request parameter that is used by enclosing <c:import>, <c:redirect>, or <c:url> actions. The <c:param> action can be used with the following syntax: [7]

[7] See "<c:param>" on page  491 for a more complete description of <c:param> syntax.

  <c:param name value/>  

The <c:param> action encodes the values specified for its name and value attributes. Instead of specifying the value for a request parameter with the value attribute, you can also specify that value in the body of a <c:param> action with this syntax:

  <c:param name>   value   </c:param>  

Now that we have a basic understanding of the JSTL URL actions, let's see how to put them to use with three real-world examples, as discussed in the following sections.

   


Core JSTL[c] Mastering the JSP Standard Tag Library
Core JSTL[c] Mastering the JSP Standard Tag Library
ISBN: 131001531
EAN: N/A
Year: 2005
Pages: 124

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net