• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"$"-expressions within jsp:root, problem with WAS 5

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have the following problem, which I cannot seem to get solved.
I am using "$"-expresions in a jsp within the <jsp:root> tag,
deployed in WAS 5. If I run the following sample jsp, the browser
receives:
<outertag>${varname}</outertag> instead of
<outertag>foo</outertag>

Does anyone have a clue? Is this a deployment issue?

Here is the sample jsp:

<jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="/tags/c"
xmlns:x="/tags/x"
xmlns:logic="/tags/struts-logic"
xmlns:bean="/tags/struts-bean"
xmlns:html="/tags/struts-html"
xmlns:string="/tags/string"
version="1.2">

<outertag>

<c:set var="varname" value="foo"/>

<c: out value="${varname}"/>

<!-- space between ':' and 'o' added to suppress dumb emoticon -->

</outertag>

</jsp:root>

[ December 11, 2004: Message edited by: Mark Polman ]

[ December 11, 2004: Message edited by: Mark Polman ]
[ December 12, 2004: Message edited by: Mark Polman ]
 
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic