in my web.xml I declared a resource under the block
This resource is about a login page.
But when I logout or when I visit some pages like Contacts or Home Page, I wouldn't use HTTPS protocol
At the moment, HTTPS remain in the url even if I declared this protocol only for that resource
This is my (little) web.xml
Does anybody can help me to solve this problem?
Hoping my explanation is clear, thank you in advance for you replies.
posted 7 years ago
I think I solved my problem and I post my solution might be useful in future to another newbie (like me )
I'm also interested to learn other ways to reach my scope.
I put this filter declaration in web.xml
I also write this class:
In this way when i go to logout I make some string operations (that edit protocol and port) and perform a redirect to the home page.