Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

FAQ Category:

Use ServletContexts.instance().getRequest() in your backing bean.

2 comments:
 
19. Mar 2008, 17:38 CET | Link

For whatever reason that returns null for me in Seam 2.0.1.GA. I've had to do javax.faces.context.FacesContext.getCurrentInstance().getExternalContext().getRequest() instead.

ReplyQuote
 
22. Jul 2008, 08:52 CET | Link
Alex

Just make sure you really need HttpServletRequest... request parameters are accessible with @RequestParameter

Post Comment