Harry Henriques wrote:In the example on the Subject line, is an Attribute named "layoutName" created in page-scope, and is "layout-name" only another reference to "layoutName"?
"layoutName" is newly created in the page scope[not reference], "layout-name" would be what it was.
Harry Henriques wrote:Is "layout-name" strictly a duplicate reference to the created Attribute "layoutName", or does "layoutName" also assume the dereferenced value of "layout-name"?
Ideally it should be duplicate value and not referenced value.
Harry Henriques wrote:Does the Attribute "layoutName" have the same initial value as "layout-name"?
same as above, Did you try this out? May be we would get the better picture by seeing how the
servlet code for the
JSP is being built.
However, the DefineTag.java of struts is straight forward and create a new page attribute - sample code snippet from the DefineTag is as below
Just see what is there in the generated servlet.