Hi Greg,

thanks for your reply, good hint...but the content of my JAVA var
"country" is (null).  :-/

I definitely have put a
<put name="selectedCountry" value="EN"/>
in my tiles-defs.xml...


TIA,
Andi


<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>

<tiles:useAttribute id="selectedCountry" classname="java.lang.String" name="selectedCountry"/>

<%
    String country = selectedCountry + "something";
%>

Try this:

<%
String country = (String) pageContext.findAttribute("selectedCountry") + "something";
%>

I'm pretty sure Tiles places these attributes in page context and does not create JSP variables for them.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to