servlet-filters

Filtering static content Jersey

Hi, I'm trying to serve static content (a HTML form that calls a Jersey REST resource) from the same webapp as the servlet that handles the requests to the resource. As I understand I can filter requests to static content away from the Jersey servlet. My web.xml is as follows, but at the moment I am unable to access the static content n...

how to remove all "\n" in JSP page? (use javax.servlet.Filter?)

i want remove all "\n" for JSP page output. i think i should be using a Filter for this. but i dont know how to do public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)throws IOException, ServletException { //how to remove all "\n" for output? } any idea? thanks for help :) ...

Spring + Weblogic 9.2 + JAX-WS using Autowiring

I'm trying to make work WebServices in Spring in next way: WS managed by Weblogic. Autowiring WS in Spring as described in Spring Reference. Having WS included in same WebApplication All application requests match Acegi, Hibernate and Struts2 web.xml filters with pattern "/*". To isolate WebService requests I've included an implement...