Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > JSP and JSTL and EL and Tomcat and DBase - Help Ongoing

JSP and JSTL and EL and Tomcat and DBase - Help Ongoing
Thread Tools
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Sep 5, 2004, 04:38 AM
 
Hi - I am building a blog in the JSP and JSTL and EL and Tomcat and MySQL. I think I am going to need a little help. So I have started this thread, to lump all my questions into. Thus saving on threads all on the same basic subject.

So far I have installed Tomcat 5, with MySQL 4.x.x, and the Jakarta Core Tags version 2, all seems to be functioning. I am using Intellij IDEA 4.5 as my IDE. Now all seems to be running fine, no errors, Intellij IDEA is configured and sees what it needs, and look happy.

Problem 01 - My EL expressions in my <c:out value="${some Expression}" /> are not being evaluated, they look right but the expressions are just printed out on the screen like this ${some Expression}. Now it is not a problem with my tags because my <c:choose> tags and others work fine. So it looks my core tags are working, but why are my expressions not being executed?

Here is the page any suggestions?

Code:
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> <%@ taglib uri="/WEB-INF/tld/sql.tld" prefix="sql" %> <%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %> <%@ taglib uri="/WEB-INF/tld/x.tld" prefix="x" %> <html> <head> <title>Search Result</title> </head> <body bgcolor="white"> <p>Create a <a href="newCreate.jsp">new Blog</a></p> <c:choose> <c:when test="${not empty listQuery.rows}"> Sorry, no existing blogs were found. </c:when> <c:otherwise> The following soapbox articles were found: <table border="1"> <th>ID</th> <th>Date Created</th> <th>Date Last Modified</th> <th>Article Status</th> <th>Article Title</th> <th>Article Summery</th> <th>Edit</th> <th>Delete</th> <c:forEach items="${listQuery.rows}" var="row"> <tr> <td><c:out value="${row.id}" /></td> <td><c:out value="${row.dateCreated}" /></td> <td><c:out value="${row.dateLastModified}" /></td> <td><c:out value="${row.articleStatus}" /></td> <td><c:out value="${row.articleTitle}" /></td> <td><c:out value="${row.articleSummery}" /></td> <td><a href="currentQuery.jsp?id=<c:out value="${row.id}" />">Edit</a></td> <td><a href="delete.jsp?id=<c:out value="${row.id}" />">Delete</a></td> </tr> </c:forEach> </table> </c:otherwise> </c:choose> </body> </html>
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:13 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2