JSTL 1.1 Library

Help
André Abt
2008-11-10
2013-04-25
  • André Abt

    André Abt - 2008-11-10

    Hello

    Is it "save" to use JSTL 1.1 with InfoGlue 2.9.5 with the new URI's??

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

    We like to use functions in our components..

    Any experiences?

    cheers
    André

     
    • Nobody/Anonymous

      I tried to get jstl 1.1 working instead of jstl 1.0 a few days ago in order to use the EL functions on my 2.8.1 installation (i don't know if it's different on a 2.9.5). 

      After getting it to work (modifying web.xml and adding the new taglibs uri) ,  i had problems with some tags.

      Some of my components working with JSTL 1.0 didn't work with 1.1

      "According to TLD or attribute directive in tag file, attribute value does not accept any expressions". The problem seems to be the rtexprvalue in the .tld files.

      Regards,
      David

       
      • André Abt

        André Abt - 2008-11-13

        Hello David

        Many thanks for your answer! :)

        Well, I run into a similar Problem. Modified web.xml with the proper header like this:
        <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
                          version="2.4">

        And used the new uris.

        The only tag so far I found not working is the <common:size.. 
        Do you remember with wich tags you had problems?

        I am very unsure what to do now.. stick with the new, or try to reprogramm our components to the old style. Althought I have to say that using functions EL would be very much appreciated.. and JSTL 1.0 is very old allready.. (I have to say that I am quite new to the whole Java World and its superconfusing as a beginner..)

        Would be great to get a advice from one of the developers..

        cheers André

         
    • Nobody/Anonymous

      Hello André,

      Sorry i don't remember which tags exactly i had problems with, but i think it was on contents sorting.

      It sure could be great to have JSTL 1.1 on the next version =)

      Regards
      David

       
      • André Abt

        André Abt - 2008-11-24

        Hello David

        Indeed, would be nice!
        Well, thanks anyway for your answer, have a nice week! :)

        André

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks