我创建了SessionListener,但它不起作用,因为我不知道如何在faces-config.xml中注册它。我试过如下: SessionListener public class SessionListener implements HttpSessionListener {
@Override
public void sessionCreated(HttpSessionEvent a
我正在开发Web应用程序。我在tomcat 6上使用JSF 2. 一切都很顺利,但现在我想浏览我的页面...(I decided to do an XML-less JSF Navigation approach)。为此,我需要添加一个faces-config.xml。我做到了,但是在添加faces-config之后,当我想打开我的页面时,我总是遇到错误。 SCHWERWIEGEND: Servl
真正的工作,我在我的测试中使用JSF 2.0 这是我在faces-config.xml <?xml version="1.0" encoding="UTF-8"?>
<!-- This file is not required if you don't need any extra configuration. -->
<faces-config version="2.0" xmlns="ht