Advanced Customization > Info*Engine User’s Guide > Info*Engine Tasks > Authoring Info*Engine Tasks > Task Execution > Specifying a Task in a task Tag
  
Specifying a Task in a task Tag
The uri attribute on the Info*Engine task tag names the task to execute. For example, to execute the CreateGroup.xml task described previously, you could include the following elements in a JSP page:
<%@ taglib uri="http://www.ptc.com/infoengine/taglib/core"
           prefix="ie" %>

<ie:task uri="/com/company/CreateGroup.xml"/>
In this example, the taglib directive identifies the Info*Engine core tag library and defines ie as the prefix that the tags use. The task tag specifies the relative path to the CreateGroup.xml task.
The group created by the example task is automatically available to the rest of the elements on the JSP page. These elements could further manipulate the data in the group or could display the group back to the user who initiated the execution of the JSP page. For example, assume that a user executed the following JSP page:
<%@page language="java" session="false"
        errorPage="IEError.jsp%>

<%@ taglib uri="http://www.ptc.com/infoengine/taglib/core"
           prefix="ie" %>

<ie:task uri="/com/company/CreateGroup.xml"/>

<ie:webject name="Display-Table" type="DSP">
  <ie:param name="GROUP_IN"  data="createdgroup"/>
</ie:webject>
The CreateGroup.xml task executed through the task tag is the same task described earlier. The output from this task is the “createdgroup” group, which is then used as input to the Display-Table webject. Executing this page results in the following display: