Hi Pavel,

you'll need a setup like the one in the Karaf based Integration test.
This sample can only be run in an environment like that one [1].

So make sure you have the bundles like the following installed [2],
but keep in mind, Karaf will bring a lot Out-Of-The-Box features and
bundles which might not be listed here
but still required. So it might not be enough for your own application
solely based on Pax-Web.

regards, Achim

[1] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-karaf/src/test/java/org/ops4j/pax/web/itest/karaf/SpringOsgiKarafTest.java
[2] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-karaf/src/test/java/org/ops4j/pax/web/itest/karaf/SpringOsgiKarafTest.java#L58-L85

2017-06-04 14:40 GMT+02:00 Pavel <[email protected]>:

> Hi all
>
> There is a sample https://github.com/ops4j/org.ops4j.pax.web/tree/master/
> samples/war-spring for spring.
>  When I run it with pax-web 6.1.0 - SNAPSHOT and jetty-9.3.11 (spring libs
> are inside sample jar)
> I get the following in my *browser*:
>
> <%@ page language="java" contentType="text/html; charset=UTF-8"
> pageEncoding="UTF-8"%> I've been called by the controller Controller send
> me the following message: ${message}
>
> So we see that JSP pages are not rendered as JSP, but are placed as simple
> text files.
> Could anyone give any suggestions? Did anyone try to make this sample work?
>
> Best regards, Pavel
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to