In this application we will compile and deploy the application on tomcat.
You can download the full running code of the application from here.
Unzip the file to tomcat webapps directory and to compile the project go to the project\WEB-INF\src of your poject and then use ant tool to compile the application. Here is the out put of the process.
|C:\Documents and Settings\Administrator>cd
[delete] Deleting directory C:\tomcat\apache-tomcat-5.5.12\webapps\project\WEB-INF\classes
[mkdir] Created dir: C:\tomcat\apache-tomcat-5.5.12\webapps\project\WEB-INF\classes
[copy] Copying 2 files to C:\tomcat\apache-tomcat-5.5.12\webapps\project\WEB-INF\src\classes
[javac] Compiling 18 source files to C:\tomcat\apache-tomcat-5.5.12\webapps\project\WEB-INF\src\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[jar] Building jar: C:\tomcat\apache-tomcat-5.5.12\webapps\project\WEB-INF\lib\project.jar
Total time: 9 seconds
Now start the tomcat and type http://localhost:8080/project in your browser. You browser should show the following home page:
Now you can test the full application by selection the different links.
Form more information on deploying the application you also view our earlier section Integrate Struts, Hibernate and Spring.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.