Web Development Toolkit

Enabling the demonstration Application for the Web Development Toolkit

Open the web.xml file.
Find the appropriate directory under Agile e6\epclt\webplm\webapps\Root\custom_web that holds the created web environment.

Enable the demonstration application for the Web Development Toolkit:

 

Find the following text in the web.xml file:

  <!-- Uncomment this section to enable custom test app -->
  <!--
  <servlet>
    <servlet-name>custom</servlet-name>
    <display-name>axalant servlet</display-name>
    <description>no description</description>
    <servlet-class>com.axalant.web.PlmServlet</servlet-class>
    <init-param>
      <param-name>defaultjsp</param-name>
      <param-value>default.jsp</param-value>
    </init-param>
    <init-param>
      <param-name>jsppath</param-name>
      <param-value>/custom_web</param-value>
    </init-param>
    <init-param>
      <param-name>mainURI</param-name>
      <param-value>custom</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  -->

<!-- Uncomment this section to enable custom test app -->
  <!--
  <servlet-mapping>
    <servlet-name>custom</servlet-name>
    <url-pattern>/myapp/*</url-pattern>
  </servlet-mapping>
  -->

To activate the demonstration application, the uncomment signes (<!-- and -->) have to be removed in the web.xml file.

Stop and restart the Web Presentation Service.

Test the custom web application.
 

To test the custom web application, you can enter the url:
http://host:port/myapp/custom

host Name of the machine on which the Web Presentation Service is running.
port Port that is configured for Web Presentation Service.
myapp This is the URL from the demo application (default custom web app) which is defined in the <servlet-mapping> section of the servlet with the <servlet-name> parameter value "custom".
custom This is the "mainURI" parameter value from the demo application defined in the servlet section for the servlet with the <servlet-name> paramter value "custom".