I am trying to migrate my existing servlets and filters defined in web.xml file to @WebServlet and @WebFilter annotations on Glassfish V3 server.
I have a servlet that allows users to download (potentially large) zip files from a web page.If the user clicks on a link to download a zip file, code similar to the following is executed in the servl
What are some strategies to manage number of sessions and eliminate unneeded sessions? Or How do I get to know that session开发者_运维知识库s are no longer needed?The servlet container will normally
I have a project that needs to be changed.. right now i have a web page 开发者_如何学Gothat posts to a jsp that calls a servlet that calls a \"backend\" using Tomcat.
I\'ve developed a Java EE application. Now say sample.war is the file. When we port this to Tomcat webapps, it explodes to sample folder. But if we want t开发者_如何学JAVAo run this application for
I want to load the property file when tomcat is starting.so I\'m using servletContextListener to do that and i can get values of property file to my web application.
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I want to run multiple versions (like myapp2.1, myapp2.2 ...) of several Java Servlet based web applications parallel.
The JAX-RS 1.1 specification says on page 6: If no Application subclass is present t开发者_如何学Gohe added servlet MUST be named:
What minimum version of the Servlet API 开发者_如何学运维is required to run JAX-RS 1.1 (for example Jersey 1.1)?The JSR refers to Java Servlet Specification Version 2.5.