{{theTime}}

Search This Blog

Total Pageviews

How to deploy a Servlet in web.xml

Tomcat Servlet Deployment:
Web.xml located at
<Tomcat-instdirectory>/webapps/ROOT/WEB-INF/

Update the web.xml with the <Servlet> and <servlet-mapping>
<servlet>          <servlet-name>ProgramResourceServlet</servlet-name>          <servlet-class>ProgramResourceServlet</servlet-class>      </servlet>        <servlet-mapping>          <servlet-name>ProgramResourceServlet</servlet-name>          <url-pattern>/ProgramResourceServlet</url-pattern>      </servlet-mapping>

No comments:

ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Check the markupsafe version.  To fix the problem install 2.0.1 pip install markupsafe==2.0.1