Results 1 to 2 of 2

Thread: jstl tags not getting displayed

  1. #1
    Join Date
    Jan 2010
    Posts
    13

    Default jstl tags not getting displayed

    I have created an application with 4 Osgi bundles.
    1) Model
    2) Service Interface
    3) Interface Implementation
    4) UI (Spring MVC with JSTL tags)

    These bundles are deployed to Equinox where Tomcat bundle is already deployed.

    When i invoke the url, i can see Controller is getting the model but the model data is not getting displayed in the UI.

    JSTL tags prints the expression as it is. ${helloWorld.message}

    Not sure has it something to do with the bundles deployed into Equinox?

    The same application is converted to Non-OSGI application and works fine in tomcat.

    Equinox configuration file is as follows.

    osgi.bundles=logging/com.springsource.ch.qos.logback.core-0.9.9.jar@start, \
    logging/com.springsource.ch.qos.logback.classic-0.9.9.jar, \
    logging/com.springsource.slf4j.api-1.5.0.jar@start, \
    logging/com.springsource.slf4j.org.apache.commons.logging-1.5.0.jar@start, \
    logging/com.springsource.slf4j.org.apache.log4j-1.5.0.jar@start, \
    tomcat/com.springsource.javax.servlet-2.5.0.jar@start, \
    tomcat/com.springsource.javax.el-1.0.0.jar@start, \
    tomcat/com.springsource.javax.servlet.jsp-2.1.0.jar@start, \
    tomcat/com.springsource.org.apache.commons.el-1.0.0.jar@start, \
    tomcat/jasper.osgi-5.5.23-20080305.122359-4.jar, \
    tomcat/com.springsource.org.apache.taglibs.standard-1.1.2.jar@start, \
    tomcat/com.springsource.javax.servlet.jsp.jstl-1.1.2.jar@start, \
    tomcat/catalina.osgi-5.5.23-SNAPSHOT.jar@start, \
    tomcat/catalina.start.osgi-1.0-20080425.161832-4.jar@start, \
    springcore/com.springsource.edu.emory.mathcs.backport-3.0.0.jar@start, \
    springcore/com.springsource.org.apache.commons.collections-3.2.0.jar@start, \
    springcore/com.springsource.net.sf.cglib-2.1.3.jar@start, \
    springcore/com.springsource.org.aopalliance-1.0.0.jar@start, \
    springcore/org.springframework.core-2.5.4.A.jar@start, \
    springcore/org.springframework.beans-2.5.4.A.jar@start, \
    springcore/org.springframework.aop-2.5.4.A.jar@start, \
    springcore/org.springframework.context-2.5.4.A.jar@start, \
    springcore/org.springframework.context.support-2.5.4.A.jar@start, \
    springcore/org.springframework.web-2.5.4.A.jar@start, \
    springcore/org.springframework.web.servlet-2.5.4.A.jar@start, \
    springcore/spring-osgi-io-1.2.0-m1.jar@start, \
    springcore/spring-osgi-core-1.2.0-m1.jar@start, \
    springcore/spring-osgi-extender-1.2.0-m1.jar@start, \
    springcore/spring-osgi-web-1.2.0-m1.jar@start, \
    springcore/spring-osgi-web-extender-1.2.0-m1.jar@start
    eclipse.ignoreApp=true

    Any help will be appreciated.

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    It sounds like that the JSP/JSTL engine doesn't start properly and thus the pages are served as static content rather then dynamic pages. It would help first to use the latest stable versions of the libraries used (such as 1.2.1 instead of 1.2.0.m1 for Spring OSGi) and to enable logging (highest level possible) for Tomcat and Jasper.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •