Hi,
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 :
anonymous wrote : <web:context-filter url-pattern="/deposit/postRelease.record"
/>
and this in web.xml :
anonymous wrote :
| <servlet-name>Recording Servlet</servlet-name>
| <servlet-class>
|
com.eservglobal.mailis.vxml.deposit.MailisRecordingServlet
| </servlet-class>
| <load-on-startup>1</load-on-startup>
|
|
| <servlet-mapping>
| <servlet-name>Recording Servlet</servlet-name>
| <url-pattern>/deposit/postRelease.record</url-pattern>
| </servlet-mapping>
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 :
anonymous wrote : 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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058029#4058029
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058029
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user