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.[详细]
2023-04-05 23:01 分类:问答How to indicate one or more match in url pattern?
\"/*\" will match zero or more characters. I want to serve req开发者_如何学JAVAuest if there is a one or more characters[详细]
2023-04-05 15:14 分类:问答ejb reference in deployment descriptor (without annotations )
I try to inject dependency in EJB 3.0 using only deployment descriptor. When I deploy my app to Glassfish (v3.1) I get this exception:[详细]
2023-03-28 11:16 分类:问答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 seems there is no web.xml but a sun-web.xml in the WEB-INF/ folder. This is[详细]
2023-02-12 20:56 分类:问答How can I catch all errors to same page from web.xml?
I tried to use 开发者_如何学C<error-page> <exception-type>java.lang.Exception</exception-type>[详细]
2023-01-01 17:04 分类:问答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 code.[详细]
2022-12-17 13:33 分类:问答