Skip to content

Commit cf9fcd8

Browse files
Update README.md
1 parent b3bf2fa commit cf9fcd8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ For Java Security
33

44

55
* [Custom Error Page](#Custom-Error)
6+
* [Restrict File to Access](#forbidden)
67

78

89

@@ -19,3 +20,14 @@ How to implement custom error page in Java website? Create web.xml and insert be
1920
2021
## error.jsp is location of custom error page
2122
```
23+
24+
## forbidden
25+
Create web.xml and insert below code
26+
```
27+
28+
<error-code>403</error-code>
29+
<location>forbid.jsp</location>
30+
</error-page>
31+
## forbid.jsp is location of custom error page
32+
33+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy