Step 5. Compile the Servlet

After restarting the WebLogic Server, compile the SimpAppServlet file, as follows:

  1. Under your WebLogic \config\mydomain\applications\simpapp document root directory, create a new WEB-INF directory.
  2. Copy the web.xml file from the Tuxedo installation directory \samples\jolt\wls\servlet\ into the new WEB-INF directory.
  3. Compile the SimpAppServlet.java file, as follows:
    javac -d %WL.HOME%\config\mydomain\applications\simpapp\WEB-INF\classes
    SimpAppServlet.java

This step also copies the necessary java classes into a WEB-INF\classes directory.