1. cookie name is truncated in Servlet 3.0 HttpServletRequest (Glassfish V3) stackoverflow.comI'm porting our Web authentication/authorization middleware for use in containers implementing the new servlet 3.0 API (Glassfish V3 in this case). The middleware pulls cookies from the HttpServletRequest filtering on cookies with ... |
2. JSP - sendRedirect is not working stackoverflow.comI have a simple jsp file:
|
5. glassfish does not respect cookiePath (sun-web.xml) when doing httpServletRequest.login java.netGlassfish 3.0.1, windows. We have configured sun-web.xml: (...) |
6. HttpServletRequest.isUserInRole() always returns false java.net> Hello, > > > > I have problem with HttpServletRequest.isUserInRole() method on GlassFish v > 3.1. It returns 'true' only once after deploying the application and then > always returns 'false'. HttpServletRequest.getUserPrincipal() works fine. > > > > I use LDAP realm with user groups defined. I have described roles in > , // and > / elements in web.xml ... |
8. Problem setting servlet context attribute on GF v2 B08 java.netI try to create a web app with EJB3.0 persistence support according to the "Book" example from the Java EE 5 tutorial. I registered a ServletContextListener and the contextInitialized() is called. I create the DBAO with the injected EntityManagerFactory and put the DBAO in the context using servletContextEvent.getServletContext().setAttribute(). So far it's just working fine. My problem appears when contextDestroyed() is called ... |
10. multiple virtual server and ServletContextListener java.net |
13. servletContextListener java.net |
14. Questions about custom ServerAuthModule on httpServlet layer (JSR196) java.netyou should be able to do that, since the ejb web service endpoints are fronted by the glassfish servlet container. you need to register your sam for the HttpServlet layer and for the appcontextid corresponding to the context path under which your web service endpoint is deployed. I'm not exactly sure how to determine the context path for such an endpoint. ... |
15. Servlet Bug? - getPathInfo() on HttpServletRequest java.net |
17. HttpServlet class not found java.net |
19. servlet-api.jar and jsp-api.jar gets deleted java.net |
20. javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested java.netat org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at ... |
21. JSP's stored in WEB-INF java.netHello, I have stored the jsp files for my web app inside the WEB-INF/jsp folder. This configuration is preventing me from accessing the images that I have stored inside my docroot. I have tried placing the images folder inside the docroot and also inside of the WEB-INF folder, both of which were unsuccessful. The only way I'm able to access the ... |
22. Disappeared specialAttributes in Servlet API 3.0 java.net |
24. Servlet 3.0 (GF3) async doPost time lag java.net |
26. Glassfish 3.0.1, WEB-INF, JSPs, and a mystery java.net |