struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: struts 2 validation error
Date Thu, 07 Mar 2013 06:23:43 GMT
2013/3/7 john lee <sh_thorn_bird@yahoo.com>:
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateModelException: Method public java.util.List org.apache.struts2.components.Form.getValidators(java.lang.String)
threw an exception when invoked on org.apache.struts2.components.Form@d6147e
>         at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
>         at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)

Could you post the whole stacktrace from console?

> alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce # cat login.jsp

How did you access the page? Via action or directly ->
http://localhost:8080/login.jsp?

> alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/classes # cat signin-valition.xml

signin-valition.xml??? It has to be -validation.xml


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message