Announcement Announcement Module

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
jstl tags not getting displayed Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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/, \
    logging/, \
    logging/com.springsource.slf4j.api-1.5.0.jar@start, \
    logging/[email protected], \
    logging/, \
    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/, \
    tomcat/jasper.osgi-5.5.23-20080305.122359-4.jar, \
    tomcat/, \
    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/, \
    springcore/, \
    springcore/, \
    springcore/, \
    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/, \
    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, \

    Any help will be appreciated.

  • #2
    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.