> JSTL needs to config in web.xml

I configured JSTL in web.xml like this.

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
    <taglib-location>/WEB-INF/fmt-rt.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
    <taglib-location>/WEB-INF/c-rt.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
    <taglib-location>/WEB-INF/sql.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
    <taglib-location>/WEB-INF/sql-rt.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
    <taglib-location>/WEB-INF/x.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
    <taglib-location>/WEB-INF/x-rt.tld</taglib-location>
  </taglib>

and in my jsp page i referred like this

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

Anything else i am missing here?.

thanks,
Ramkumar

> On Sat, 28 Aug 2004 18:17:42 +0800, Can Zheng <[EMAIL PROTECTED]> wrote:
> > Seems the evaluation of El was not working.
> >
> > You can either set JSP configurations in the web.xml
> >
> > or set the IsELIgnored page directive to false in JSP pages.
> > On Sat, 28 Aug 2004 13:37:03 +0530, RamKumar <[EMAIL PROTECTED]>
wrote:
> > > Hi All,
> > >         I am using JSTL in my JSP page for the first time. I am
running into a problem with the following tag.
> > > <c:out value="${sessionScope.SurveyCreateForm.surveyTitle}"/>
> > >
> > > and it prints in the page as
"${sessionScope.SurveyCreateForm.surveyTitle}"
> > >
> > > Any clues?
> > >
> > > thanks,
> > > Ramkumar
> > >
> >
> >
> > --
> > Best regards,
> >
> > Can Zheng
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Javen Fang
> -----------------------
> Just for fun - Just do it
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to