Hi

If you application is running on top of Jetty then you should be able to 
forward to a jsp page from Camel. Camel is actually running inside Jetty as 
well.

You could just package your application as a standard war application with 
standard web.xml and have camel-core.jar and the other jars in the WEB-INF/lib 
folder.

In fact in the next version of Camel 1.5 we will ship an example application 
that is packaged as a war application that you can run in Jetty, Tomcat, 
WebSphere or what else.


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: raul_b [mailto:[EMAIL PROTECTED] 
Sent: 23. juli 2008 17:18
To: [email protected]
Subject: using jetty component functionality: servlet forward and web.xml 
issues..


Hi,

I'm using the Jetty endpoint, and using the Servlet API in a processor
(something like this: from(jetty:...).process(new Processor())).

Inside the processor I get access to the Servlet api. At a certain point I
need to forward the request to a jsp, using the forward functionality of the
RequestDispatcher object.
I'm having problems with it, since this is being deployed within Camel, and
not from a normal servlet environment, where I can have defined document
root. What's the best way to have the forward functionality? Does it
actually makes sense to forward to jsp's within the Camel context? 
Also, is it possible to define a web.xml for jetty within Camel?


Thanks,
Raul
-- 
View this message in context: 
http://www.nabble.com/using-jetty-component-functionality%3A-servlet-forward-and-web.xml-issues..-tp18613180s22882p18613180.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to