{{theTime}}

Search This Blog

Total Pageviews

How to add a new Servlet to Tomcat Web.xml?

Goto conf\web.xml and add the servlet and servlet-mapping.

Example:

 <servlet>
    <servlet-name>AjaxServlet</servlet-name>
    <servlet-class>com.edu.FirstServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/svlt/*</url-pattern>
  </servlet-mapping>

No comments:

Setup AWS Application Load Balancer Https

Setting up HTTPS for an AWS Application Load Balancer (ALB) involves configuring an HTTPS listener, deploying an SSL certificate, and defini...