whenever I visit localhost:4502/shop/category, I get a 403 forbidden error. I see that it gets to my class and path, but it throws a 403 regardless.
However, If I move the servlet to /bin/feed, I can visit it successfully without a 403 error.
Is there a way to have servlets registered at paths without having the /bin/ path in front of them?
每当我访问本地主机:4502 /shop/category,我得到一个403禁止错误。我看到它达到了我的class and path,但它无论如何抛出了403。
但是,如果我将servlet移动到/ bin / category,则可以成功访问它,而不会出现403错误。
有没有办法让Servlet在路径上注册,而不在前面有/ bin /路径?
解决方案:
在AEM中配置:如图

本文探讨了在访问AEM特定路径时遇到的403禁止错误,并提供了将Servlet部署在不同路径下以避免该错误的方法。通过调整部署位置至/bin/前缀路径,成功解决了访问限制问题。
455

被折叠的 条评论
为什么被折叠?



