Install of JBoss from jboss-4.2.2.GA.zip on Linux.  Implemented a simple 
Stateful EJB3 so install is fine.

Started using JSTL in a JSP file and couldn't get <c:if> to work.  So I wrote 
the following index2.jsp simple test:


  | <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
  | <html>
  |   <head>
  |     <title>Test page</title>
  |   </head>
  |   <body>
  |     <c:set var="hello" value="Hello World!"/>
  |     <p>The variable <code>hello</code> was set to
  |     "<c:out value="${hello}"/>"</p>
  |   </body>
  | </html>
  | 

It generates the following output:

  | The variable hello was set to "${hello}"
  | 

I was expecting:

  | The variable hello was set to "Hello World!"
  | 

So what am I doing wrong?

Thanks for any help.

Steve

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107214#4107214

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107214
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to