Error parsing included template header.ftx Encountered "and" at line 5, column 124. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... ... ... ... ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... ... ... The problematic instruction: ---------- ==> include "header.ftx" [on line 2, column 31 in produs.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: Error parsing included template header.ftx Encountered "and" at line 5, column 124. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... ... ... ... ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... ... ... at freemarker.core.Include.accept(Include.java:148) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:231) at ro.ups.magazin.mall.MallMagazin.processWriter(Unknown Source) at ro.ups.magazin.mall.MallMagazin.processWriter(Unknown Source) at ro.ups.magazin.mall.MallMagazin.process(Unknown Source) at ro.ups.pages.Produs_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:161) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at ro.ups.pages.AfiseazaProdus_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:169) at ro.ups.magazin.filter.SEOFilter3.doSEOFilter(Unknown Source) at ro.ups.magazin.filter.SEOFilter.doFilter(Unknown Source) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at ro.ups.magazin.filter.TraceFilter.doFilter(Unknown Source) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: freemarker.core.ParseException: Encountered "and" at line 5, column 124. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... ... ... ... ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... ... ... at freemarker.core.FMParser.generateParseException(FMParser.java:4461) at freemarker.core.FMParser.jj_consume_token(FMParser.java:4332) at freemarker.core.FMParser.Parenthesis(FMParser.java:268) at freemarker.core.FMParser.PrimaryExpression(FMParser.java:240) at freemarker.core.FMParser.UnaryExpression(FMParser.java:303) at freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:419) at freemarker.core.FMParser.AdditiveExpression(FMParser.java:369) at freemarker.core.FMParser.RangeExpression(FMParser.java:553) at freemarker.core.FMParser.RelationalExpression(FMParser.java:500) at freemarker.core.FMParser.EqualityExpression(FMParser.java:460) at freemarker.core.FMParser.AndExpression(FMParser.java:585) at freemarker.core.FMParser.OrExpression(FMParser.java:618) at freemarker.core.FMParser.Expression(FMParser.java:205) at freemarker.core.FMParser.Parenthesis(FMParser.java:267) at freemarker.core.FMParser.PrimaryExpression(FMParser.java:240) at freemarker.core.FMParser.UnaryExpression(FMParser.java:303) at freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:419) at freemarker.core.FMParser.AdditiveExpression(FMParser.java:369) at freemarker.core.FMParser.RangeExpression(FMParser.java:553) at freemarker.core.FMParser.RelationalExpression(FMParser.java:500) at freemarker.core.FMParser.EqualityExpression(FMParser.java:460) at freemarker.core.FMParser.AndExpression(FMParser.java:585) at freemarker.core.FMParser.OrExpression(FMParser.java:608) at freemarker.core.FMParser.Expression(FMParser.java:205) at freemarker.core.FMParser.If(FMParser.java:1122) at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2274) at freemarker.core.FMParser.Content(FMParser.java:2518) at freemarker.core.FMParser.OptionalBlock(FMParser.java:2686) at freemarker.core.FMParser.Root(FMParser.java:2858) at freemarker.template.Template.(Template.java:148) at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:376) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:347) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229) at freemarker.template.Configuration.getTemplate(Configuration.java:439) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1357) at freemarker.core.Include.accept(Include.java:143) ... 44 more [EXCEPTIE:Error parsing included template header.ftx Encountered "and" at line 5, column 124. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... ... ... ... ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... ... ... ]