Hi,
first of all, I don't have much experience with running web applications inside the SMILA web server, we usually don't use SMILA that way. Everything I know about it is documented on http://wiki.eclipse.org/SMILA/Documentation/JettyHttpServer.
The Servlet 3 API should be available in SMILA (at least in a current version that uses Jetty 8. If you have Jetty 7 in SMILA, it will not work, because Jetty 7 supports only the Servlet 2.5 API (see http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html). You may have to add additional JARs from the Jetty distribution to the SMILA/plugins directory, for example we don't include the JSP support by default. You should probably refer to the Jetty documentation for details. And the spring-framework-JARs must probably be included in the webapp.
Hope that helps a bit, sorry for not being able to be more detailed.
Juergen.
Am 30.10.2013, 19:29 Uhr, schrieb Lorenzo Eccher <leccher@xxxxxx>:
Hi to all.
I would like to import in my smila based application a web
application deployed as a .war and running in the maven jetty.
I'd like to have it running in the smila jetty but it seems not
possible with the actual configurations.
I think that some jar are needed (e.g. in tomcat 7 I needed to add
servlet 3.0 and JSTL 1.2.1). It uses also spring-framework.
Where does the jetty embedded in SMILA load its lib? how can I add
some to it?
Thank you
--
Lorenzo Eccher
lorenzo.eccher@xxxxxx
(+39) 0461 312 306
Engineering Ingegneria informatica s.p.a
www.eng.it
ENGINEERING Society and Territory Trento Research Office
EIT-ITC Labs, Trento node
ESTRO Lab at FBK building
via Sommarive, 18
Povo - 38123 Trento
Le informazioni trasmesse sono destinate esclusivamente alla
persona o alla società in indirizzo e sono da intendersi
confidenziali e riservate. Ogni trasmissione, inoltro,
diffusione o altro uso di queste informazioni a persone o
società differenti dal destinatario Ú proibita. Se ricevete
questa comunicazione per errore, contattate il mittente e
cancellate le informazioni da ogni computer.
The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If
you received this in error, please contact the sender and
delete the material from any computer.
Die Informationen in dieser E-Mail-Mitteilung sind
vertraulich und deren Verbreitung in jeglicher Art oder Form
ist untersagt. Sollten Sie diese Nachricht irrtÃŒmlich erhalten
haben, ersuchen wir Sie, sofort den Absender darÃŒber zu
informieren und die Mail zu löschen.
|