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]

Reply via email to