Register / Login
Win a copy of
97 Things Every Java Programmer Should Know
this week in the
Java in General
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Struts 1:in the bean:write tag, can "name" even refer to an attribute name, instead of a bean name ?
posted 9 years ago
I posted it in the wrong forum, so repeating it here..
In the documentation, the "name" inside a tag is mentioned to be the name of the bean whose property has to be printed. If the property isn't mentioned, the value of the bean itself is printed. But if I set an attribute in the Action class like :
and in the
I get "hello" even though "dda" is not the name of any bean. Why does that happen ? And what is meant by "bean itself is printed" ? Is its object's hashcode rendered ?
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
Boost this thread!
problem in logic:iterate
logic equal syntax
No bean found under attribute key
in the bean:write tag, can "name" even refer to an attribute name, instead of a bean name ?
Confused whether Error is related to TLD