what is <html:base/> in Struts ?
Posted on 2005-05-13
i found meaning of <html:base /> in Mastering jakarta Struts
The <html:base /> tag is used to insert an HTML <base> element, including an href pointing to the absolute
location of the hosting JSP page. This allows you to use relative URL references, rather than a URL that is
relative to the most recent requested resource. The <html:base /> tag has no body and supports a single
attribute target, which represents the target attribute of the HTML <base> tag. To use the <html:base /> tag,
you simply need to insert the tag, as shown in the following code snippet, at the top of your JSP:
its confusing, not able to understand . can anybody tell me with one example what this tag does ?
1) what happens if i use this tag and what happens if i DONT use this tag.