Greg, not sure if this is my configuration, but with RC4 I had to put ant.jar on my classpath when running Jetty embedded, otherwise when I tried to forward to...
Miro, That is Jasper2. They gave up writing their own code to check dependancies, manage classpaths and compile code. Jasper2 uses ant as it core, so the...
Hi, There is a broken link on the jetty web site on page http://jetty.mortbay.org/jetty/tut/XmlConfiguration.html. The "Jetty Server" link points to...
Hi, I'd like to be able to programmatically configure ServletHttpContext in the same way as I do it by using web.xml, for the following snippet: <servlet> ...
Hi, Is it possible to add a servlet without specifying a mapping when using Server and ServletHttpContext? It is possible to do that in web.xml and I would...
Hi, I have a default Jetty config defined in code (by using the Server and ServletHttpContext objects). I would like to allow users to provide a jetty XML...
Hi, There seems to be a typo in http://jetty.mortbay.org/jetty/tut/Server.html. The Jasper JspServlet is located in the "org.apache.jasper.servlet" package and...
There is a method on ServletHttpContext public synchronized ServletHolder addServlet(String name, String pathSpec, String className) Or you can just call...
The javadoc should help a bit with these sorts of questions.. the method you want is on ServletHandler: public ServletHolder newServletHolder(String name, ...
Have a look at the code of WebApplicationContext.java It provides the web-jetty.xml mechanism to allow the XML config to be applied to the existing context. ...
Thanks for the doco corrections - keep em coming! plus I've spotted a few javadoc horrors while grabbing the answer to your other questions. cheers ... -- ...
Hi Greg, Long time no write. How goes Jetty? I haven't been able to do any work towards Jetty or any web app lately. My project, of about 3 months now is all...
HI, I have just released on SourceForge version 1.1.1 of Jonas & Jetty integration. You can download full binary version of integrated JettyJonas as well as...
MiroHalas@...
Sep 2, 2002 6:51 am
4387
... Jules has done a lot of work on this and there are now several different versions that use EJBs, JavaGroups direct, JBoss services, and other things....
... code ... Ah, that's what I needed! I should have started there, it would have helped. Thanks -Vincent ... and ... a ... But ... in ... mapping ... ...
Hi Greg, Thanks. Before I asked any question I have looked at all the tutorials + searched the mailing-list + looked at the javadoc. I even looked at some part...
Hi, Can someone tell me why is the Filter handling in WebApplicationHandler? I thought that Filters could exist independently of a web application in the same...
Hi Greg, ... Are you saying that I need to find out the name of the servlet generated by Jasper? I would have expected Jetty to shield me from this. What would...
Sorry, I didn't read your question properly. You need to use the forcePath version of addServlet or newServletHolder (the one with no javadoc, which I have...
Vincent, That used to be the case in Jetty 4.0. But the problem is that Filters are tied to servlets by the fact they use Servlet requests, responses wrappers...
Also note that you can use a WebApplicationHandler without using a WebApplicationContext (or at least you should be able to - not actually tested this). The...
Not really on topic for Jetty-discuss, so please take followups elsewhere. But while I'm shooing you off, IMHO: Programming in the large == big picture == top...
How about an ant task that could take a HttpContext argument (optional if not specified all contexts will be restarted) and trigger the reloading ? ... they...
tlvenn
vchris@...
Sep 4, 2002 6:35 am
4400
It should be doable. However, I have been considering adding an option where the web.xml file only is monitored for an update. So if you touch web.xml, then...
Hi All : i wanted to ask a few questions regarding jboss-jetty and jasper2 1.) how can i know which version of jetty (4.0/4.XX/RC etc.. ) is bundled with each...
... Apart from a few recent releases where we stuffed up the manifest file, you can tell the Jetty version by looking at the manifest file within the Jetty...
thanks for replying so soon... about the jasper2 , i WILL take it to jakarta... :-) and i will test it again. how often do you pack jboos & jetty ? cause in...