[SOLVED] please follow the steps and make sure you do the Optional

I’m stuck on a Computer Science question and need an explanation.

Struggling to find relevant content or pressed for time? – Don’t worry, we have a team of professionals to help you on
[SOLVED] please follow the steps and make sure you do the Optional
Get a 15% Discount on this Paper
Order Now
  1. SUMMARY
  1. You will be working towards Project 2 part 1 that is posted in Assignments section. You need to complete the two JSP files where you see the ######## markings. You also will complete #1, #2, and attempt #3 in the DroneDataService.java file.
  1. This lab will involve the following new features:
    1. REST web service.
  1. DETAILS

  1. First go to C:Program FilesApache Software FoundationTomcat 8.5 … and change the security settings on the “webapps” folder to allow full control to users as we’ve done before.
  2. Unzip the zip file into your tomcat “webapps” folder.
    1. Your path should then be:
      1. C:Program FilesApache Software FoundationTomcat 8.5webappsdronerecon
        1. Inside the dronerecon folder, you should then have your JSPs, WEB-INF folder, etc. that are all included in the zip file.
      2. NOTE: You may have a different version than 8.5 above for your path.
  1. You will fill in code where you see the ######## markings in the following files:
    1. DroneDataService.java
    2. In the zip file:
      1. drone_launch.jsp
      2. drone_sim.jsp
  2. If you’ve properly updated the JSP files…
    1. You should be able to go to the following when Tomcat is running:
      1. http://127.0.0.1:8080/dronerecon/drone_launch.jsp
    2. After entering info and submitting, then you should see a grid printed with the proper number of cols and rows that you entered on the drone_sim.jsp page.
  3. For DroneDataService.java editing…
    1. Create a new java project (if using NetBeans, choose a “class library” type of project) because you will be eventually creating a JAR file when done to deploy to Tomcat.
    2. In the src folder in your project, create a folder structure of comdronereconws, or you can create a new package by right clicking on src if using IntelliJ and entering in com.dronerecon.ws – you will see this already at the top of the DroneDataService.java file:

package com.dronerecon.ws;

This represents the folder structure in your src folder.

  1. Put the java file that is on the Assignments page for Project 2 into the ws folder.
  2. It should appear in your IDE project.
  1. In the java file, edit and complete #1 and #2, and then try to make an attempt at #3, but if you don’t complete it properly, that’s okay! And don’t worry about #4 unless you want to try to get it all working before next class. We will finish this file in class next time.
  2. OPTIONAL: If you do happen to finish the file and want to see if you can get it to work, then you would…
    1. Add the servlet api jar from tomcat to your project library by doing this:
      1. IntelliJ: Look back at the posted instructions from Week 11’s module.
      2. NetBeans IDE: Right click the “Libraries” folder in your NetBeans project and choose “Add JAR/Folder”, and then navigate to your Tomcat folder in the lib folder and choose “servlet-api.jar”.
    2. Build this project so that a JAR file is created.
      1. IntelliJ: Same instruction file from Week 11’s module.
    3. And then you would put this JAR file in your dronereconWEB-INFlib folder.
    4. (HINT: if you’re going to take on this then the JSON string you build has to be returned correctly, and to include quotes as part of your string you have to escape it, which just means a before the quote like this … String sExample = “this quote ” is ignored as an ending java quote mark because of the slash”;)
  1. TURNING IN LAB:
  1. Turn in the above 3 files (2 JSPs and 1 java file) into your lab 10 assignment spot in Canvas.
  2. IMPORTANT: DO NOT ZIP your folders/files please.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with MyCoursebay
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Social Work and Human Services
Great Work!
Customer 452587, August 31st, 2021
Other
GOOD
Customer 452813, July 5th, 2022
Other
AWESOME
Customer 452813, June 21st, 2022
Human Resources Management (HRM)
This paper is well -written from what I have read. If there are any instructor concerns, I will advise.
Customer 452701, October 24th, 2023
Nursing
Thank you MyCoursebay team for your support. With your help I got an A for my past courses
Customer 452635, May 7th, 2022
IT, Web
Did an excellent job with the body of the paper and staying on the topic.
Customer 452885, October 27th, 2022
Nursing
Looks good. Thank you!!
Customer 452525, April 27th, 2022
Psychology
Thanks so very much. The paper is well-researched and adequately referenced. You have been of great help during the pandemic!
Customer 452467, January 31st, 2021
Nursing
Thank you so much. I didn't know where to start and you did an amazing job. Thanks and have a great night.
Customer 452925, March 16th, 2023
Technology
Excellent job on the paper!
Customer 452885, December 28th, 2022
Criminal Justice
Excellent Work!!!
Customer 452587, March 10th, 2022
Business and administrative studies
Perfect as always!
Customer 452909, April 15th, 2023
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information

NEW

Thank you for choosing MyCoursebay. Your presence is a motivation to us. All papers are written from scratch. Plagiarism is not tolerated. Order now for a 15% discount

Order Now