Here's a diff of what happens to the lib.properties file when the convert-to-jsp2.xml build script is run:
lib.properties (part that is modified) - before: wrote: > > # > # JSTL - http://java.sun.com/products/jsp/jstl/ > # > jstl.version=1.0.6 > jstl.dir=${lib.dir}/jakarta-taglibs/standard-${jstl.version} > jsp2.jstl.version=1.1.2 > jsp2.jstl.dir=${lib.dir}/jakarta-taglibs/standard-${jsp2.jstl.version} > lib.properties (part that is modified) - after running convert-to-jsp2.xml wrote: > > # > # JSTL - http://java.sun.com/products/jsp/jstl/ > # > jstl.version=1.1.2 > jstl.dir=${lib.dir}/jakarta-taglibs/standard-${jstl.version} > maskkkk wrote: > > Okay I fixed it, > > There's actually another build file inside of appfuse which needs to be > run in order to make the switch between versions (since there is 1.0.6, > and 1.1.2 included in Appfuse).... > > Here is what I did: > > first I ran the following cmd after making sure that > no programs were touching the project-dir directory... > > >> C:\project-dir>ant -buildfile convert-to-jsp2.xml >> > > Than I followed the directions indicated in the build file by > 1. Deleting the jsp-2 target. > 2. Deleting the convert-to-jsp2.xml build file. > > Thanks again, > Andrew J. Leer > > Matt Raible-3 wrote: >> >> I've never tried to use JSP's XML syntax in any application, so I >> doubt I'll be much help. One thing you might try is changing your >> web.xml to use Servlet 2.4 instead of Servlet 2.3. >> >> Matt >> >> On 12/8/06, maskkkk <[EMAIL PROTECTED]> wrote: >>> >>> I am trying to use jstl core / expression language in my appfuse app.... >>> >>> >>> >>> > <?xml version="1.0"?> >>> > <jsp:root xmlns="http://www.w3.org/1999/xhtml" >>> > xmlns:jsp="http://java.sun.com/JSP/Page" >>> > version="1.2" >>> > xmlns:tiles="http://struts.apache.org/tags-tiles" >>> > xmlns:c="http://java.sun.com/jsp/jstl/core"> >>> > <jsp:output doctype-root-element="html" >>> > doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" >>> > >>> > >>> doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> >>> > >>> > <jsp:directive.page contentType="text/html"/> >>> > <jsp:body> >>> > <html> >>> > <head> >>> > <title>Bob</title> >>> > >>> > <!-- Get Javascript List --> >>> > <tiles:importAttribute name="scripts" >>> > ignore="true"/> >>> > <c:forEach var="js" items="${scripts}"> >>> > <script type="text/javascript" >>> > src="${request.contextPath}${js}"></script> >>> > </c:forEach> >>> > >>> > <!-- Get Stylesheet List --> >>> > <tiles:importAttribute name="styles" >>> > ignore="true"/> >>> > <c:forEach var="css" items="${styles}"> >>> > <link rel="stylesheet" >>> type="text/css" >>> > media="all" href="${css}" />. >>> > </c:forEach> >>> > </head> >>> > <body> >>> > <tiles:get name="menu" /> >>> > base definition >>> > <c:out value="bob"/> >>> > </body> >>> > </html> >>> > </jsp:body> >>> > </jsp:root> >>> > >>> >>> The tiles taglib works, and so does the jsp taglib, but the core jstl c >>> tags >>> just appear in the source of the browser, rather than being processed. >>> >>> Is there any way to fix this? >>> >>> Thank you, >>> Andrew J. Leer >>> -- >>> View this message in context: >>> http://www.nabble.com/JSTL-c-tags-not-working---Appfuse-1.9.4-tf2780825s2369.html#a7758201 >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> -- >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/JSTL-c-tags-not-working---Appfuse-1.9.4-tf2780825s2369.html#a7899122 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
