InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.2: Developing JSP files >
4.2.2.3: Overview of JSP file content >
4.2.2.3.8: IBM extensions to JSP .91 syntax >
4.2.2.3.8.1: JSP .91 syntax: Tags for variable data >
4.2.2.3.8.1.1a: JSP .91 syntax: Alternate syntax for the <INSERT> tag

4.2.2.3.8.1.1a: JSP .91 syntax: Alternate syntax for the <INSERT> tag

The HTML standard does not permit embedding HTML tags within HTML tags. Consequently, you cannot embed the <INSERT> tag within another HTML tag, for example, the anchor tag (<A>). Instead, use the alternate syntax.

To use the alternate syntax:

  1. Use the <INSERT> and </INSERT> to enclose the HTML tag in which substitution is to take place.
  2. Specify the bean and property attributes:
    • To specify the bean and property attributes, use the form:
      $(bean=b property=p default=d)
      
      where b, p, and d are values as described for the <INSERT> tag.
    • To specify the requestparm attribute, use the form
      $(requestparm=r default=d)
      
      where r and d are values as described for the <INSERT> tag.
    • To specify the requestattr attribute, use the form
      $(requestattr=r default=d)
      
      where r and d are values as described for the <INSERT> tag.

Go to previous article: Example: JSP .91 syntax: INSERT tag syntax Go to next article: JSP .91 <REPEAT> tag syntax

 

 
Go to previous article: Example: JSP .91 syntax: INSERT tag syntax Go to next article: JSP .91 <REPEAT> tag syntax