Hi
For some reason I'm having difficulties getting something as simple as
this to work, see below.
The result I get is this, see below. It seems to me that the
VALUE-attribute is not evaluated. I've downloaded the JSTL-package from
apache's homepage and I've included the tld and jar files in the WEB-INF
dir.
I am not sure what to try next, so any pointers would be appreciated.
Regards
Tobias
*******************
This is my JSP page.
77
${ttt.val}
Name: ${ttt.val}
Parameter values passed to this page for each parameter:
${current.key}
${aVal}
**************
<%@ page language="java" import="java.lang.*,java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP Tag-test page</title>
</head>
<body>
This is my JSP page. <br>
<jsp:useBean id="ttt" class="com.comopt.support.beans.TestBean"
scope="request" />
<jsp:getProperty name="ttt" property="val" />
<BR>
<c:out value="${ttt.val}" />
<BR>
<c:forEach items="${ttt.Names}" var="aname">
Name: <c:out value="${ttt.val}" /><BR>
</c:forEach>
<b>Parameter values passed to this page for each parameter: </b>
<table border="2">
<c:forEach var="current" items="${param}">
<tr>
<td>
<b><c:out value="${current.key}" /></b>
</td>
<c:forEach var="aVal" items="${paramValues[current.key]}">
<td>
<c:out value="${aVal}" />
</td>
</c:forEach>
</tr>
</c:forEach>
</table>
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]