Re: Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-30 Thread Andreas B. Thun
Hi Greg, thanks for your reply, good hint...but the content of my JAVA var "country" is (null). :-/ I definitely have put a in my tiles-defs.xml... TIA, Andi <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> name="selectedCountry"/> <% String country = selectedCountry +

Re: Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-29 Thread Greg Reddin
On Dec 29, 2005, at 9:40 AM, Andreas B. Thun wrote: <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> classname="java.lang.String" name="selectedCountry"/> <% String country = selectedCountry + "something"; %> Try this: <% String country = (String) pageContext.findAttr