aspose file tools*
The moose likes JSP and the fly likes taglib question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "taglib question." Watch "taglib question." New topic
Author

taglib question.

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<c:set var="totalCount" scope="session" value="100"/>
<c:set var="perPage" scope="session" value="20"/>
<c:forEach
var="boundaryStart"
begin="0"
end="${totalCount - 1}"
step="${perPage}">
<a href="?start=<c ut value="${boundaryStart}"/>">
[
<c ut value="${boundaryStart}"/>
-
<c ut value="${boundaryStart + perPage - 1}"/>
]
</a>
</c:forEach>
<c:forEach
var="current"
varStatus="status"
begin="${param.start}"
end="${param.start + perPage - 1}">
<c:if test="${status.first}">
<ul>
</c:if>
<li><c ut value="${current}"/></li>
<c:if test="${status.last}">
</ul>
</c:if>
</c:forEach>

gives me eror. I use websphere 5.0 studio and I see struts related stuff and not JSTL. What to do?

is it looking for jstl.jar?
[ October 20, 2004: Message edited by: shan javan ]
Amit Ghai
Ranch Hand

Joined: Mar 24, 2004
Posts: 35
I guess problem is with your uri. Have you resolved your uri in web.xml or any of the jar files deployed.


Reasonable people adapt themselves to the world. Unreasonable people attempt to adapt the world to themselves. All progress, therefore, depends on unreasonable people.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I don't see jstl.jar in my webinf/lib. Where can I find it? I mean which directory?
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
have you downloaded JSTL?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Please provide me the link to download JSTL.jar and also let me know where I have to save?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

shan, this is JavaRanch.com not JavaLackey.com. Please show some initiative in doing your own part before asking others to do work for you. A google search on "jstl taglib download" reveals the Jakarta information for the JSTL as its first result.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Luke , check out this site. It is helpful. Mine works now.
http://www.developer.com/java/ejb/article.php/1447551
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taglib question.