Invoke a Servlet from an HTML Link

Steps

  1. Create an HTML file
  2. Use the A tag, where HREF is the same URL you typed in the previous step.

Final Code

  • Source: FirstLink.html
  • Run It

  • FirstLink.html