Step 5. Compile the Servlet
After restarting the WebLogic Server, compile the
SimpAppServlet file, as follows:
- Under your WebLogic
\config\mydomain\applications\simpappdocument root directory, create a newWEB-INFdirectory. - Copy the
web.xmlfile from the Tuxedo installation directory\samples\jolt\wls\servlet\into the newWEB-INFdirectory. - Compile the
SimpAppServlet.javafile, 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.
Parent topic: Using the Example