burtonrhodes commented on PR #7:
URL:
https://github.com/apache/struts-intellij-plugin/pull/7#issuecomment-2320771698
I have my jsps in the following folder structure
```
[module]
/src
/webapp
/js
/struts <-- jsps are here
/WEB-INF
...etc
```
and in my web.xml I deny access to that folder
```
<security-constraint>
<web-resource-collection>
<web-resource-name>Restricted Assets</web-resource-name>
<url-pattern>/struts/*</url-pattern>
<url-pattern>/META-INF/*</url-pattern>
</web-resource-collection>
</security-constraint>
```
That said, is there a security reason why you would whitelist or limit where
to look for jsps? I feel like the entire module (or at least webapp directory)
would be fair game for a search/autocomplete inside an IDE.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]