Top "Servlet-container" questions

For questions regarding servlet-container

ServletContext getRealPath method - what is a virtual path?

I am reading the documentation for the getRealPath(String s) and I became confused when I read this statement Returns …

java servlets servlet-container
Serving static resources at /static/* context while keeping my servlet handling /* context

My problem is simple. I want to have my static resources served at /static/* context, but my specific servlet serving /* …

tomcat servlets servlet-container
Why does servletContext.getRealPath returns null on tomcat 8?

I have the following code line: servletContext.getRealPath("resources/images/video_icon.png") Wen I run application using jetty(using …

java tomcat path tomcat8 servlet-container
jsp container vs servlet container

I am studying about servlet technology in which I heared the term servlet container and jsp container, I am getting …

servlet-container