And see also * http://cwiki.apache.org/WW/sitemesh.html
-T. On 9/11/06, Don Brown <[EMAIL PROTECTED]> wrote:
Take a look at how the showcase example application uses sitemesh. If you use Struts tags in the decorators you have to ensure the sitemesh and struts filters are defined in a particular order, IIRC. Don On 9/11/06, sharad bhushan <[EMAIL PROTECTED]> wrote: > hi all, > i am having problems when using sitemesh 2.2.1 and struts2.the problem is it does not alow me to use struts tag libraries.and gives an error > > > java.lang.NullPointerException > org.apache.struts2.components.URL.end(URL.java:213) > org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:35) > org.apache.jsp.WEB_002dINF.jsp.common.components.header_jsp._jspx_meth_s_url_0(org.apache.jsp.WEB_002dINF.jsp.common.components.header_jsp:90) > org.apache.jsp.WEB_002dINF.jsp.common.components.header_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.common.components.header_jsp:64) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) > org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(org.apache.jsp.WEB_002dINF.decorators.main_jsp:103) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156) > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59) > > when defining a anchor tag.... > > <a href="<s:url action="home"/>">home</a> > > and the mapping was placee in struts.xml. > can any one help me to find a solution.... > if this does not work i feel i cant'use struts form features too... > > bye all
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]