Skip to main content.

JSP Controls Tag Library

Navigation: JSP Controls | About

Tag <jc:reload>

Reloads a composite page either by redirecting (default) or by forwarding (optional) to a page containing the component. It is possible to load a different page by specifing the address of target page either in "target" attribute or in the body of the tag. If the component is properly configured, it will use asynchronous in-place update (Ajax) instead of reloading when possible. See Component Lifecycle description for details.

Tag Information
Tag Classnet.jspcontrols.tags.ReloadTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
Name Required Request-time Type Description
redirect false true java.lang.String Specify false to use forwarding instead of redirection. Note: forwarding is not recommended since it is a source of double submit issues. Also, it breaks up the synchronization between browser window content, browser address bar content, and current server state.
target false true java.lang.String The location where to load page from after redirect. This attribute allows to process event and then to redirect to another page. If this attribute is specified, the Library will always perform redirect (or forward), it will never immediately return a fragment even if request was made in Ajax mode. The target location can be also specified in the body of this tag.