you have to include the f:view in your code, which is the container of
all the JSF components:
<body>
<f:view>
<t:outputText value="example_messages"/>
</f:view>
</body>
HTH,
Bruno
2006/1/12, wch zll <[EMAIL PROTECTED]>:
> Hi,
>
> I just faced a very simple problem, but i just cant it
> figure out.
> I make a very simple test.jsp like:
> <%@ taglib uri="http://java.sun.com/jsf/html"
> prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core"
> prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk"
> prefix="t"%>
> <html>
> <body>
> <t:outputText value="example_messages"/>
> </body>
> </html>
>
> and i have put the 3 jars: tomahawk.jar,
> myfaces-impl.jar, myfaces-api.jar in my lib.
> then i tried to run test.jsp, but i always get server
> internal error, NullPointerException,
> javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615).....
>
>
> Best Regards!
>
> chaohe
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>