(I\'ve accidentally deleted the gist that I\'m referring to in this question; sorry for the inconvenience.)
I am trying to follow a Servlet 3.0 tutorial which refers to @WebServletContextListener. However, I cannot find such an annotation in my javaee-web-api-6.0.jar dependency (I am using maven).
I\'m trying to use HttpServletRequest authenticate within a JSF managed bean to implement fine-grained authentication, depending on the particular object requested.
I\'m trying to use the authenticate() in a preRenderView listener method, in order to trigger authentication conditionally, depending on view parameters in the page. I tried adding a simple method:
tomcat 7.0.16 Java 1.6.0_22 CentOS 5.6 I just switched the web.xml to servlet 3.0 (from a app running 2.4 previously) and now I\'m seeing the following error (turned on fine logging for org.apach
Does the FacesServlet in JSF 2.0 sup开发者_如何学Cport the servlet 3.0 async features?No, with the simple reason that JSF 2.0 is designed with Servlet 2.5 in mind.
In my application, I had a servlet which was defined like this in the web.xml: <servlet> <display-name>Notification Servlet</display-name>
We migrated our application from JBoss 5 to JBoss6 and one of the main reasons for this is to make use of the new features of servlet 3.0. Everything works fine apart from one new feature of JBoss 6 a
I have the following in my web.xml: <session-config> <cookie-config> <http-only>true</http-only>
i have coded a login page using programmatic approaches but it does not successful when the code have roles