Hello

I am working my way through the Stripes Book examples
(http://www.pragprog.com/titles/fdstr/stripes), where the displaytag library
is used (a first timer for me). Example JSP:
 
<[EMAIL PROTECTED] file="/WEB-INF/jsp/common/taglibs.jsp"%> 
<s:layout-render name="/WEB-INF/jsp/common/layout_main.jsp" title="Contact
List">
  <s:layout-component name="body">
    <d:table name="${actionBean.contacts}" id="contact" requestURI=""
defaultsort="1">
      <d:column title="Last name" property="lastName" sortable="true"/>
      <d:column title="First name" property="firstName" sortable="true"/>
      <d:column title="Email" property="email" sortable="true"/>
    </d:table>
  </s:layout-component>
</s:layout-render>
 
As long as I don't use the id="contact" attribute, everything works fine
(not yet required for this example, but for next one). With id="contact"
included, I am getting JSP errors. Eclipse 3.4 reports the errors below:

Syntax error on token "}", delete this token             contact_list.jsp
Stripes e-Mail 01/WebContent/WEB-INF/jsp  line 0  JSP Problem
Syntax error on token "catch", Identifier expected       contact_list.jsp
Stripes e-Mail 01/WebContent/WEB-INF/jsp  line 0  JSP Problem
Syntax error, insert "Finally" to complete TryStatement  contact_list.jsp
Stripes e-Mail 01/WebContent/WEB-INF/jsp  line 0  JSP Problem

My environemt:

Windows XP Professional SP3
JDK 1.6.0_07
Eclipse 3.4
Tomcat 6.0

JARs in WEB-INF/lib:

jstl
standard
log4j-1.2.15
stripes (v 1.5)
displaytag-1.1.1
commons-beanutils-1.7.0
commons-collections-3.1
commons-lang-2.1
commons-logging

Any help would be much appreciated.

Thanks...
...Peter

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to