Top "Deployment-descriptor" questions

A configuration file that describes how a web application should be deployed.

Getting the init parameters in a servlet

I am new to servlets. I got the init parameters in DD within the init() method using getInitParameter("name"). I …

java servlets deployment-descriptor init-parameters
Unable to find web.xml in netbeans 7.0.1

I want to upload a file to a server, for which I am writing a servlet program.The location of …

java jakarta-ee servlets web.xml deployment-descriptor
@WebServlet annotation web.xml welcome-file

I would like to set the welcome-file of my JSP/JavaBeans project. I have a servlet named 'Controller.java' with …

java jsp servlets web.xml deployment-descriptor
Difference b/w <context-param> and <init-param>

DD elements <context-param> and <init-param> both can be retrieved by the getInitParameter() method, in the servlet …

java servlets deployment-descriptor init-parameters
How can I catch all errors to same page from web.xml?

I tried to use <error-page> <exception-type>java.lang.Exception</exception-type> <location>/errors/…

java web.xml custom-error-pages deployment-descriptor
No web.xml in Eclipse + Glassfish v3?

I created a simple "hello world" servlet in Eclipse (helios) + Glassfish v3. I am using Glassfish's plugin for eclipse It …

eclipse deployment glassfish deployment-descriptor
Deployment Descriptor not found

I am using NetBeans 8.0 for developing my first Java web application and I am unable to find Deployment Descriptor in …

java jakarta-ee netbeans deployment-descriptor
How to exclude/redirect certain url pattern in web.xml or Guice servlet module?

I need to serve my main application with the url pattern "/*" so this pattern is matched to a Servlet. The …

java regex guice deployment-descriptor