Open tool, select Java EE
Click ' File--new '
Select Dynamic Web Project
Enter project name: Javaweb
Select Web Server
Select the servlet version
Click ' Next '
Build\classes storing Java-compiled class files
Click ' Next '
Java Web project root directory:
can store JSP
Finally click on ' Finish '
Publish project to Web server Tomcat7
Select the project you want to publish:
Click ' Add ' to add success
Click the green button to start the server:
Java Project Evolution Javaweb Project 1. File-new-project2. Under Project New-folder (WebRoot) 3.WebRoot directory under New-folder (web-inf) 4.web-inf directory New-folder (classes), New-folder (Lib), New-file (Web. xml) 5. Paste Javaee.jar into the Lib Package 6. Project name-properties-java Build path-source, check allow output Folders for source Folders,browse Select classes Directory 7. Project name-properties-java Build path-libraries,add JARs, import Javaee.jar under Lib
Creation of the Javaweb Project (ii) _ Eclipse tool