Using filters in embedded mode

Help
Paul Rames
2014-01-12
2014-01-21
  • Paul Rames
    Paul Rames
    2014-01-12

    Hi,

    According to the project's last changes history, filters are already supported in TJWS. Is this also true for embedded usage? I've tried to set up some filters for my application but found no suitable methods inside Serve class.

    Thanks in advance.

     
  • Unfortunately TJWS doesn't support filters in embedded mode, unless you want to deal with complexity of adding J2EE deployment module and web.xml configuration. The feature based on using annotations in embedded mode is planned for 2.x. However for now you can use a simple chain of servlet wrappers.

     
  • Paul Rames
    Paul Rames
    2014-01-21

    Thanks for your response. I'll take the servlet wrappers approach, although I hope this feature gets implemented some day ;-)