I am running LAB4221 struts2 and my JSP results are fine however the
server log is showing the messages below based on my passing the param
in the action as property of username. My understanding from reading
everything on the internet that this is still just a warning message,
correct, that has resurfaced with struts? It doesn't want you to user
a property that is not already defined for the Servlet
ActionRedirectResult.
An example is at: https://issues.apache.org/struts/browse/WW-1714

I am asking if anyone else got this because I don't see anyone
referencing this in the logs for this lab.

Caught OgnlException while setting property 'username' on type
'org.apache.struts2.dispatcher.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.username
        at ognl.ObjectPropertyAccessor.setProperty
(ObjectPropertyAccessor.java:132)
        at com.opensymphony.xwork2.util.OgnlValueStack
$ObjectAccessor.setProperty(OgnlValueStack.java:68)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
        at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.Ognl.setValue(Ognl.java:476)
        at com.opensymphony.xwork2.util.OgnlUtil.setValue
(OgnlUtil.java:186)
        at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty
(OgnlUtil.java:360)
        at com.opensymphony.xwork2.util.OgnlUtil.setProperties
(OgnlUtil.java:76)
        at com.opensymphony.xwork2.util.OgnlUtil.setProperties
(OgnlUtil.java:49)
        at org.apache.struts2.impl.StrutsObjectFactory.buildResult
(StrutsObjectFactory.java:95)
etc.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to