Hi I'll look into this.
Hermod -----Opprinnelig melding----- Fra: mohammad_gh [mailto:[EMAIL PROTECTED] Sendt: 28. august 2007 17:46 Til: user@shale.apache.org Emne: java.lang.NullPointerException when using html view with JSP. hi i am using clay and want to create an html view with JSP. i downloaded ShaleClay.zip and deployed it. everything is ok. but i can not use a html view with JSP. i added only the following file and i get the error below when calling the full.jsp . i did not change anything else in the configurations. what i have to do more? --------------full.jsp--------------------- <%@ taglib prefix="clay" uri="http://shale.apache.org/clay" %> <clay:clay id="full" jsfid="/full.html" /> ---------------------------------------- -------------------full.html---------------- <html> <head> </head> <body> <h3>test the full html view</h3> <form> <input type="text" value="#{2+2}"/> <input type="submit"/> </form> </html> ---------------------------------------- org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 58) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleAppl icationFilter.java:267) root cause java.lang.NullPointerException javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:92 9) javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310) org.apache.jsp.full_jsp._jspx_meth_clay_clay_0(full_jsp.java:78) org.apache.jsp.full_jsp._jspService(full_jsp.java:55) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 11) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleAppl icationFilter.java:267) help me please !!! Mohammad GHASEMI HAMED --------------------clay-config.xml----------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE view PUBLIC "-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN" "http://struts.apache.org/dtds/shale-clay-config_1_0.dtd"> <view> <component jsfid="baseLayout" extends="clay" id="base"> <attributes> <set name="clayJsfid" value="/templates/standard.html" /> </attributes> <symbols> <set name="title" value="Hello World" /> <set name="leftContent" value="/pages/defaultLeftNav.html" /> <set name="headerContent" value="/pages/defaultHeader.html" /> <set name="bodyContent" value="/pages/defaultBody.html" /> <set name="footerContent" value="/pages/defaultFooter.html" /> </symbols> </component> </view> ----------------------clay-views-config.xml----------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE view PUBLIC "-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN" "http://struts.apache.org/dtds/shale-clay-config_1_0.dtd"> <view> <component jsfid="/page1.jsf" extends="baseLayout"> <symbols> <set name="title" value="Page 1" /> <set name="bodyContent" value="/pages/page1Body.html" /> </symbols> </component> <component jsfid="/page2.jsf" extends="baseLayout"> <symbols> <set name="title" value="Page 2" /> <set name="bodyContent" value="/pages/page2Body.html" /> </symbols> </component> <component jsfid="/page3.jsf" extends="baseLayout"> <symbols> <set name="title" value="Page 3" /> <set name="bodyContent" value="/pages/page3Body.html" /> </symbols> </component> </view> -- View this message in context: http://www.nabble.com/java.lang.NullPointerException-when-using-html-view-wi th-JSP.-tf4342539.html#a12370548 Sent from the Shale - User mailing list archive at Nabble.com.