Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Converting my scriplets to jstl

Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Originally my code said:
<%if (JetspeedResources.getBoolean("bottomnav.enable") == true) {%>
I wanted to use:
<c:if test="('JetspeedResources.getBoolean("bottomnav.enable")'!=null)">

Wel that did not work also I wanted to do something maybe like this as well:
<c:set var="a" value="JetspeedResources.getString('topnav.logo.file')"/>
This only sets the variable to exactly what you see and not the value.
JetspeedResources is stemming from this import:
<%@ page import = "" %>
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic