How to load Seam components in a servlet?
For example,the servlet got a HttpRequest with user name and password,and want to use the default Seam component "authenticator" to login.
Another scenario is,the servlet received a HttpRequest with some parameters,and need to load some Seam components,invoke the actions of the components...
A little sample code will be real helpful.
Thanks
Use the context filter, it's documented quite well in the ref docs and there's plenty of forum posts regarding it also. Plus sample code in the seamspace example (look at ContentServlet.java).