That may be the problem. I'm having difficulty in determining just
what Servlet/JSP is supported by Google App Engine.
Fortunately, I just realized there is a "workaround" for me that skips
the ImportAttribute and $() Namely, using the same Tiles Definitions
in my example, I just need to write
<body onload="pageinit('<tiles:getAsString name="pagename"/>');">
to get the desired value of "pagename" from the Definition passed into
Javascript for the testLayout.jsp page.
But I'll look into what Servlet/JSP is supported by Google App Engine,
or whether it will allow me to use custom tags.
Thanks much,
Ken
On Mar 18, 2010, at 12:48 PM, Antonio Petrelli wrote:
2010/3/18 Ken Bowen <[email protected]>:
I expect to see the Javascript alert showing:
pageinit: test.testa
However, I only get
pageinit: ${pagename}
What servlet version are you using? To use EL directly in JSP pages
(without custom tags) you must use at least Servlet 2.4/JSP 2.0.
Antonio