For my form bean, getBean().getName();

edit!getBean().getName


For me it shows an exception with the bean Name field value, would a
combination of all public methods in the package and then on sensitive
actions like login/payments etc use the action to restrict to allowed
methods only?

[

edit!getBean().getName() ==

   1. Encountered " ")" ") "" at line 1, column 21. Was expecting one of:
   ":" ... "not" ... "+" ... "-" ... "~" ... "!" ... "(" ... "true" ...
   "false" ... "null" ... "#this" ... "#root" ... "#" ... "[" ... "{" ... "@"
   ... "new" ... <IDENT> ... <DYNAMIC_SUBSCRIPT> ... "\'" ... "`" ... "\"" ...
   <INT_LITERAL> ... <FLT_LITERAL> ...
   2. Malformed OGNL expression: getBean().getName()()

edit!getBean().name ==

*java.lang.NoSuchMethodException*

Block set..() and get..()?

]




On 16 September 2015 at 08:32, Lukasz Lenart <lukaszlen...@apache.org>
wrote:

> 2015-09-16 9:12 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
> > Hm, getAString(), would it return anything?  I will do a check to see
> what
> > happens.
>
> It will return a String which is then interpreted as a result name but
> if you are in devMode you will get the developer notification that the
> such result doesn't exist and you will see the String.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to