Thanks, you are right.
Bryan Sevilla <[EMAIL PROTECTED]> schrieb:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:*
{behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
Clean Clean DocumentEmail MicrosoftInternetExplorer4 /*
Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;
mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in; mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New
Roman";} Seems like it interrupts execution of filter chain? Try adding
adding chain.doFilter(request, response) on doFilter() method
-----Original Message-----
From: Thomas Chang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 6:44 PM
To: [email protected]
Subject: A question about <filter> in web.xml
Hi all,
I've create a web application with myfaces and it runs well till now. But
after I fill an own filter in the web.xml, I can't see the GUI anymore. The
page is just a blank page. Why?
The filter I filled into the web.xml looks as follow:
******
...
<filter>
<filter-name>JPAFilter</filter-name>
<filter-class>cashregister.persitence.JPAFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>JPAFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
...
And the JPAFilter.java looks as follow which just implents the
javax.servlet.Filter and all the functions hat no content:
******
public class JPAFilter implements Filter {
private static Logger log = Logger.getLogger( JPAFilter.class );
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException,
ServletException {
;
}
public void init(FilterConfig arg0) throws ServletException {
;
}
public void destroy() {
;
}
}
---------------------------------
Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN!
---------------------------------
Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo! zu Ihrer
Startseite!