web.xml Questions
13
Solved
I have a problem with my web.xml file. The error:
The content of element type "web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,li...
8
Solved
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http:...
1
"<?xml version="1.0" encoding="UTF-8"?>"
In this I'm getting error in this line
Description Resource Path Location Type
Referenced file contains errors (j...
2
Solved
I'm just wondering when/why you would define a <resource-ref> element in your web.xml file?
I would have thought that it would be defined in your web/app server using JNDI and then look up t...
Nitrogen asked 22/5, 2010 at 11:54
2
Solved
I need to have the 'HttpOnly' and 'Secure' attributes set to 'true' to prevent the CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute and CWE-402: Transmission of Private Resourc...
6
While running the application using Spring Security, I am getting below error on all browsers:
"The server understood the request but refuses to authorize it"
I tried by changing Roles from "R...
Klinger asked 15/7, 2018 at 19:45
4
Solved
If we define webapp specific servlet filters in WAR's own web.xml, then the order of execution of the filters will be the same as the order in which they are defined in the web.xml.
But, if we def...
Ventail asked 3/7, 2011 at 3:38
6
I'm getting this error message while editing web.xml file in eclipse for SpringMVC web-app:
cvc-id.3: A field of identity
constraint
'web-app-servlet-name-uniqueness'
matched element 'web-ap...
2
Solved
For a RESTful enterprise application I need all calls to be authenticated, but I cannot provide a common group/rolt that all users of the system have. I authenticate and authorize over LDAP (which ...
Gastrectomy asked 15/12, 2011 at 11:5
2
I am quite desperate, because I think there must be an easy solution to my problem but I am searching - to no avail.
I am using a custom Realm in Glassfish 3.1.1. This custom realm (implements App...
2
Solved
I have a Spring Boot web application that works fine. Now I got a 3rd party lib which I must use in the project. The manual of integrating the lib is written with respect to an existing web.xml fil...
Judi asked 5/3, 2018 at 7:26
21
I encountered this error when I tried to run my application in Tomcat.
I already checked the version of tomcat and java home. Both use java 6.
Is there a missing jar? Or is it my web xml? I'm not ...
Pym asked 10/1, 2014 at 8:9
7
Solved
Does servlet support urls as follows:
/xyz/{value}/test
where value could be replaced by text or number.
How to map that in the web.xml?
Jeana asked 3/1, 2012 at 16:40
1
Solved
I am transitioning a simple Servlet from using Java Servlet 4 to Jakarta Servlet 5.
I noticed my web.xml file has references to the 4 spec.
<?xml version="1.0" encoding="UTF-8&quo...
Pargeting asked 20/3, 2022 at 4:39
2
Solved
Is it possible to use two filters that have the same url-mapping?
<filter>
<filter-name>TeeFilter</filter-name>
<filter-class>filter1r</filter-class>
</filter&g...
Wadi asked 15/11, 2013 at 10:54
5
Solved
I'm creating a servlet that needs to load configuration information. Part of the configuration information I need is a list of Strings (specifically, a list of hostnames and/or URLs).
I was hoping...
Padus asked 11/4, 2012 at 18:0
10
Solved
I get an error in spring-dispatcher.xml in eclipse as given below.
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-
beans-4.1.5.xsd', becaus...
1
how to bootstrap spring application with @Configuration within old web.xml ?
Say I am building a spring project with @Configuration @ComponentScan annotation style, then how do i get it working wit...
Brominate asked 17/1, 2022 at 12:58
4
I've recently setup a new Weblogic 12c environment. On deploying an application that I know works in Weblogic 11g I get the error "The url-pattern /resources/* in web application is mapped to multi...
Cayenne asked 4/7, 2016 at 15:10
4
Solved
I'd like the ability to modify/configure filters in a different way than web.xml. Here is a static configuration of 2 filters. I'd like the ability to have one filter statically configured and allo...
Septicidal asked 25/8, 2011 at 15:12
1
When I try to auto generate the web.xml file while creating a Dynamic Web Project in the Eclipse Enterprise version it shows an error of type "Language Servers". It indicates to this elem...
3
I tried to use Servlet 4.0 namespace. The application worked well, but IDEA detects an error: "Element web-app" must be declared".
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="h...
Hug asked 17/11, 2017 at 11:12
5
Solved
There's a small problem with my servlets/jsp web application. I'm trying to use jstl in jsp page. When I use any tag for example:
<c:out value="${command}"/>
it shows me
${command}
in...
7
I'm pre-packaging a JSP web-app that relies on some file path settings found within web.xml. These settings are unknown at packaging time, because they reference a path the customer will set when d...
Cowgirl asked 10/9, 2009 at 10:0
2
I'm working on a JSF web application in which I need to bring up a "Session Expired" page if the view expires, but a general technical error page for all others. The application only goes to the te...
Innsbruck asked 8/7, 2010 at 18:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.