1

I want to restrict access to the whole application <url-pattern>/*</url-pattern> But not to some Servlets. They should be public.

Is there a way to do that easily (I imagine some exclusion or maybe overriding?) or do I have to arrange files in subfolders and allow access to one while restricting to the other?

1 Answer 1

2

Is there a way to do that easily (I imagine some exclusion or maybe overriding?)

No.


or do I have to arrange files in subfolders and allow access to one while restricting to the other?

Yes.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.