Re: Problem with freemaker, basic Struts2 app in Google App Engine
Ok, i'm going to do that and after that tell us if works. Regards. El 3/11/2010 8:52 AM, Lukasz Lenart escribió: No problem, but I think you have to upgrade to latest version - 2.1.8.1 -- Oscar Calderon JAVA Tutorials and How to's? Visit http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/11 Oscar Calderon : > Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 No problem, but I think you have to upgrade to latest version - 2.1.8.1 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 El 3/10/2010 11:58 AM, Lukasz Lenart escribió: 2010/3/10 Oscar: I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): What version of Struts 2 are you using? Regards -- Oscar Calderon JAVA Tutorials and How to's? Visit http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/10 Oscar : > I've changed my appengine-web-app as you said but i still get the same > error. You can see it here (in a new application): What version of Struts 2 are you using? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): https://anicetoapp3.appspot.com/ Regards 2010/3/10 Lukasz Lenart > 2010/3/10 Oscar : > > Do you mean in web.xml right? Well, no. This is the web.xml as you can > see: > > No, in appengine-web.xml, as below > > > http://appengine.google.com/ns/1.0";> > >gruuf-done >2 > >true > > > value="WEB-INF/classes/logging.properties"/> > > > > > > > > > > > Regards > -- > Łukasz > http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 > http://javarsovia.pl > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Oscar
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/10 Oscar : > Do you mean in web.xml right? Well, no. This is the web.xml as you can see: No, in appengine-web.xml, as below http://appengine.google.com/ns/1.0";> gruuf-done 2 true Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
Do you mean in web.xml right? Well, no. This is the web.xml as you can see: struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 */** 30 index.jsp And thanks for answering. Regards. 2010/3/10 Lukasz Lenart > Did you specify /struts/* as a static content? > > > Regards > -- > Łukasz > http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 > http://javarsovia.pl > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Oscar
Re: Problem with freemaker, basic Struts2 app in Google App Engine
Did you specify /struts/* as a static content? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Problem with freemaker, basic Struts2 app in Google App Engine
Hi to all, i'm testing Google App Engine uploading a basic Struts2 application (without hibernate, spring or something like that) and i have an error concerning freemaker when i use struts tags. My index.jsp is the next: <%...@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> http://www.w3.org/TR/html4/loose.dtd";> Ejemplos con Struts 2 Pagina de Inicio Formulario Entrada As you can see i use a Expression parameters.templateDir is undefined on line 42, column 15 in template/simple/a.ftl. The problematic instruction: -- ==> ${parameters.templateDir} [on line 42, column 13 in template/simple/a.ftl] in include "/${parameters.templateDir}/simple/scripting-events.ftl" [on line 42, column 1 in template/simple/a.ftl] -- Java backtrace for programmers: -- freemarker.core.InvalidReferenceException: Expression parameters.templateDir is undefined on line 42, column 15 in template/simple/a.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.Expression.getStringValue(Expression.java:118) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) 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.renderElementToString(Environment.java:1461) at freemarker.core.StringLiteral.getStringValue(StringLiteral.java:95) at freemarker.core.Include.accept(Include.java:110) 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:232) I'm not using any template or something like that, i´ve set the ui.theme to simple, also you can see the error here (the url of google application): https://anicetoapp2.appspot.com/ I don't know about this but i imagine that the solution is to override some property value or something like that, or not? Regards. -- Oscar http://www.javahowto.net/