wf-core:exists

This tag checks whether a particular controller, view, template exist or not.

Syntax
<wf-core:exists
   id="..."
   path="..."?
   scope="..."?
   type="..."?
   view="..."?
   widgetName="..."?/>
Attributes
id, mandatory

Names the scripting variable created by this tag, as well as the key value used to locate the bean added to the specified scope.

type

This field indicates which type of resource is looking for. There are currently four types:

widgetName

Specify widget name for which you are looking a particular controller or view or index.jsp file exist or not

path

This attribute contains path of the file which this tag will check.

view

View name which you are looking for

scope

Specify in which scope result will be set