I'm trying to deploy a .war trough the server's web interface. Getting the same error when deploying it as an exploded directory with IDEA.
What is the solution to this problem?
...
Hi All,
In my Java web application, the NTLM domain controller name is specified in web.xml like this:
<filter>
<!-- other code -->
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>DCNAME</param-value>
</init-param>
<!-- other code -->
</filter>
In the above XML, we've hard-coded t...
Can one declare multiple beans in the ejb-jar.xml (in EJB 1.1) deployment descriptor with different names but the same classes behind?
For example:
<session>
<ejb-name>AccountFacade</ejb-name>
<home>com.something.ejb.AccountFacadeHome</home>
<remote>com.something.ejb.AccountFacadeRemote</remote>
<ejb-class>com.something...
DD elements <context-param> and <init-param> both can be retrieved by the getInitParameter() method, in the servlet code.
Now the question is, how does it differentiate <context-param> and <init-param>?
...
Okay, so I have been using Java EE with glassfish for a little while now. And have started to realize that my deployment descriptor is getting really cluttered up and hard to find things in it anymore. So I was wondering if anyone knows of a plugin for Eclipse that makes managing the descriptor easier, perhaps something visual? I know th...
I tried to use
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/errors/error.jsp</location>
</error-page>
but i dosen't catch 404 errors. How can I catch also 404 etc. errors to that same page ? I want to catch ALL error codes to same error page jsp.
...
I am trying to get a servlet to respond to every request with a url-pattern of "/test/*". so this controller should respond to :
myApp/test/
myApp/test/whatever
myApp/somehting?other=stuff
using the following mapping:
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>/test/</url-pattern>
</servlet-mapping>
Th...