This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ApplicationFilterConfig[] filters = new ApplicationFilterConfig[0]; | |
private int pos = 0; | |
private int n = 0; | |
private void internalDoFilter(ServletRequest request, ServletResponse response) { | |
if (pos < n) { | |
ApplicationFilterConfig filterConfig = filters[pos++]; | |
Filter filter = null; | |
try { | |
filter = filterConfig.getFilter(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="http://my-app.com/logout"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="/change-my-email" method="POST"> | |
<input type="text" name="email" value="john@domain.com"/> | |
<input type="submit" value="test"/> | |
</form> |