The rewrite tag produces a label that resembles a URL. In fact, the rewrite tag has attributes similar to the link tag. Instead of a hyperlink, the rewrite tag generates a relative URL such as:
/app03d/displayAddProductForm.do;jsessionid=70DA991D2DF6A53532E6D675577D6C94?firstName=John&lastName=Doe
The rewrite tag could be useful in the link element or if you are writing a JavaScript function that needs to reference a dynamic resource. For the list of attributes of the rewrite tag, consult Table 3.14.