Exercise 3-1 Install and use the NetBeans IDE This exercise makes sure that you can use NetBeans to run a web application on a Tomcat server. Test NetBeans and Tomcat 1. Create a new project for a web application named testApp, and save it in the ex_starts directory. 2. Make sure this project uses the Tomcat server. 3. Use the Projects window to review the folders and files for the testApp project. Run the testApp web application, and review the information that's in the NetBeans Output window. 4. Add a JSP file to the project Add a JSP file named test.jsp to the project. 5. 6. Edit the code for the test.jsp file so it includes this tag within its body tags: Test JSP To do that, type an opening bracket (<), select the h2 tag from the resulting list, and press the Enter key. Next, press the Enter key again to complete the tag, and type "Test JSP" within the tag. 7. Right-click on the test.jsp file in the Projects window, and select the Run File command to display this JSP in a browser. 8. Use the Window>IDE Tools>Palette command to open the Palette window, and click on the plus signs for HTML, HTML Forms, and JSP to expand these items. Then, drag the Text Input item to the test.jsp file right after the h2 tag that you just entered. In the dialog box that opens, type testName for the Name and click on the OK button. Note the HTML tags that are added to the JSP.
Exercise 3-1 Install and use the NetBeans IDE This exercise makes sure that you can use NetBeans to run a web application on a Tomcat server. Test NetBeans and Tomcat 1. Create a new project for a web application named testApp, and save it in the ex_starts directory. 2. Make sure this project uses the Tomcat server. 3. Use the Projects window to review the folders and files for the testApp project. Run the testApp web application, and review the information that's in the NetBeans Output window. 4. Add a JSP file to the project Add a JSP file named test.jsp to the project. 5. 6. Edit the code for the test.jsp file so it includes this tag within its body tags: Test JSP To do that, type an opening bracket (<), select the h2 tag from the resulting list, and press the Enter key. Next, press the Enter key again to complete the tag, and type "Test JSP" within the tag. 7. Right-click on the test.jsp file in the Projects window, and select the Run File command to display this JSP in a browser. 8. Use the Window>IDE Tools>Palette command to open the Palette window, and click on the plus signs for HTML, HTML Forms, and JSP to expand these items. Then, drag the Text Input item to the test.jsp file right after the h2 tag that you just entered. In the dialog box that opens, type testName for the Name and click on the OK button. Note the HTML tags that are added to the JSP.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 11 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY