You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by skyman <cl...@163.com> on 2011/02/28 06:12:40 UTC

How can Mina access the data of Tomcat's servlet instance?

Hi everyone,
I want to embed Mina into Tomcat(Mina is used for the chat module), but I don't know how does Mina acess the servlet's data(for example, user's name). Can anyone tell me?
Thanks in advance!

Re: How can Mina access the data of Tomcat's servlet instance?

Posted by Ashish <pa...@gmail.com>.
2011/2/28 skyman <cl...@163.com>:
> Hi everyone,
> I want to embed Mina into Tomcat(Mina is used for the chat module), but I don't know how does Mina acess the servlet's data(for example, user's name). Can anyone tell me?
> Thanks in advance!


It cannot, you have to code it
You need to build this logic in your Filter or IoHandler.

thanks
ashish