0 Replies Latest reply on Jun 27, 2007 5:29 AM by Gui gui

    Pbm with missing contexts

    Gui gui Newbie


      First of all, I'm using Jboss Seam 1.2.1.
      I've made an application wich uses a Servlet to "catch" multipart request wich contains voice messages. My Servlet extends ResourceServlet and is declared in the web.xml file.
      But, in this servlet I can't access to contexts : there are not active. I've added this in components.xml file :

      <web:context-filter url-pattern="/deposit/postRelease.record" />

      and this in web.xml :

      <servlet-name>Recording Servlet</servlet-name>

      <servlet-name>Recording Servlet</servlet-name>

      In this case its works fine.

      But, at the end of my servlet doPost method I want to forward to another page wich needs context too. So I did :

      RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/deposit/postRelease.seam");
      dispatcher.forward(req, res);

      Is it the right method to use ?

      Why my context is not active in this new page ?

      How can I fix this problem.

      Thx to all.