[SOLVED] CS313 Assignment 7

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment-7-zlam8t.zip (82 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
đź”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

We have already shared the java j2ee setup handout with one servlet and html file..Do the setup,if not already done.Execute the StudentServlet file and index.html given with the handout.

1. Design a new html page to take advisor id as input. Write a servlet to display the department to which the advisor belongs using java j2ee program.Output should contain advisor id and department name.

You can refer to some of the following instructions :

  1. Place the servlet mapping code in web.xml.

    Example :
    Here ServletName is the name of your servlet file.
    This following code snippet should be placed within <web-app></web-app> tags in the web.xml.

    <servlet> <servlet-name>ServletName</servlet-name> <servlet-class>ServletName</servlet-class> </servlet>
    <servlet-mapping> <servlet-name>ServletName</servlet-name> <url-pattern>/ServletName</url-pattern> </servlet-mapping>

  2. You can create your own html page for reading advisor id as input.But put the name of your servlet file correctly inside the form element.

    Example :
    <form action=”ServletName”>

  • Assignment-7-zlam8t.zip