File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 1:in the bean:write tag, can "name" even refer to an attribute name, instead of a bean name ?
Joined: Jul 07, 2010
Jun 20, 2011 07:28:21
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 ?
I agree. Here's the link:
subject: Struts 1:in the bean:write tag, can "name" even refer to an attribute name, instead of a bean name ?
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015