Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
broken-petclinic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s61200
broken-petclinic
Commits
0b9d98ba
Commit
0b9d98ba
authored
14 years ago
by
Costin Leau
Committed by
Mic
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
disable welcome files (for Servlet 3 compatibility)
parent
973c45ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/webapp/WEB-INF/web.xml
+16
-10
16 additions, 10 deletions
src/main/webapp/WEB-INF/web.xml
with
16 additions
and
10 deletions
src/main/webapp/WEB-INF/web.xml
+
16
−
10
View file @
0b9d98ba
...
...
@@ -147,16 +147,16 @@
<url-pattern>
/
</url-pattern>
</servlet-mapping>
<filter>
<filter-name>
httpMethodFilter
</filter-name>
<filter-class>
org.springframework.web.filter.HiddenHttpMethodFilter
</filter-class>
</filter>
<filter>
<filter-name>
httpMethodFilter
</filter-name>
<filter-class>
org.springframework.web.filter.HiddenHttpMethodFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>
httpMethodFilter
</filter-name>
<servlet-name>
petclinic
</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>
httpMethodFilter
</filter-name>
<servlet-name>
petclinic
</servlet-name>
</filter-mapping>
<session-config>
<session-timeout>
10
</session-timeout>
</session-config>
...
...
@@ -167,6 +167,12 @@
<location>
/WEB-INF/jsp/uncaughtException.jsp
</location>
</error-page>
<!-- eliminate welcome files -->
<!-- useful for Servlet 3 container (Tomcat 7 and Jetty 6) -->
<welcome-file-list>
<welcome-file></welcome-file>
</welcome-file-list>
<!--
- Reference to PetClinic database.
- Only needed if not using a local DataSource but a JNDI one instead.
...
...
@@ -179,4 +185,4 @@
</resource-ref>
-->
</web-app>
</web-app>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment