mabsito
08-24-2010, 10:26 PM
Hello,
i am working for years with jsp on resin and i am trying now to use jsf with but i have some problems. I started with the example that I found in the caucho webseite http://caucho.com/resin/examples/jsf-webbeans/index.xtp I just copied alors the files to my server without changing anything but when I try to test it the browser just displays the jsp code:
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<f:view>
<h:messages/>
<h:form>
<h:inputText value="#{calc.a}" size="4"/>
+ <h:inputText value="#{calc.b}" size="4"/>
= <h:outputText value="#{calc.sum}" style="color:red"/>
<br>
<h:commandButton value="Add"/>
</h:form>
</f:view>
and resin doesn´t compile the file. Should I make a special configuration to my resin.xml or should i add some jars to my libraries?
Thanks
i am working for years with jsp on resin and i am trying now to use jsf with but i have some problems. I started with the example that I found in the caucho webseite http://caucho.com/resin/examples/jsf-webbeans/index.xtp I just copied alors the files to my server without changing anything but when I try to test it the browser just displays the jsp code:
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<f:view>
<h:messages/>
<h:form>
<h:inputText value="#{calc.a}" size="4"/>
+ <h:inputText value="#{calc.b}" size="4"/>
= <h:outputText value="#{calc.sum}" style="color:red"/>
<br>
<h:commandButton value="Add"/>
</h:form>
</f:view>
and resin doesn´t compile the file. Should I make a special configuration to my resin.xml or should i add some jars to my libraries?
Thanks