[Display "Hello World" in Java]
environment · OS: macOS version 10.14.4 ・ Eclipse installed
operation ・ First, start Eclipse. -After Eclipse, click "File"-"New"-"Project" from the menu.  -Click "web"-"Dynamic Web Project". ・ Click "Next>".  -Enter any name in "Project name:". This time, "Hello World" is used. ・ Click Finish.  ・ Confirm that the project is created  -Right-click on the created project ("Hello World"). -Click "New"-"File". -Click "Hello World"-"Web Contents". -Enter an arbitrary name for the file name. Enter "HelloWorld.jsp" this time. ・ Click Finish. -Enter the following source and save.
-Right-click the created file (HelloWorld.jsp). -Click "Run"-"Run on Server". ・ Click "Finish".  ・ The following is displayed on the screen.  -Copy the path.  -Copy to the browser and enter. ・ Successful if the following is displayed. 
Recommended Posts