× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Paul,

The tld's are stored in the jar. If you are using a JSP 1.2 (I think
that was the version) Servlet application server you do not need to do
anything but put jstl.jar in your WEB-INF/lib directory. Tomcat 4.1.27
would be a good choice (I haven't tested 4.1.29 on the iSeries yet but
it is probably fine). Taglibs (therefore Struts) must go into
WEB-INF/lib and not common/lib or shared/lib. Here is a working
snippet:

<%@ taglib uri="http//java.sun.com/jstl/core" prefix="c" %>
...

<html-el:form action="myAction">
<c:out value="${myForm.someStringThing}" />
...
<c:forEach var="myItem" items="${myForm.items}>
  <c:out value="${myItem.name}" />
  <c:out value="${myItem.address1}" />
</c:forEach>
...
</html-el:form>

If you go to www.iseries-toolkit.org you will find an example called
span in CVS or on the downloads page that has some examples. You can get
more information about span here:
http://www.orlandojug.org/Struts-JUG.pdf 

David Morris

>>> Paul.Nicolay@xxxxxxxxxx 11/12/2003 10:26:17 AM >>>
David,

I'm still messing around with my application.

I do have an issue with a <c:out value="${call.firstName}"/> snippet
(for
which I see not much use, as <%= call.getFirstName() %> looks more
normal to
me... but I'm following a tutorial) which doesn't compile.  I already
installed jstl.jar and c.tld myself, but still with no luck.

So I removed my own downloaded jstl.jar and c.tld, went into Project
Properties, Project Features and selected JSP Standard Tag Library. 
After
clicking Apply, WDSC added jstl.jar to my libraries... but I don't got
the
c.tld ???

Kind regards,
Paul

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.