Hello Carsten,
I've entered an issue about this topic:
http://restlet.tigris.org/issues/show_bug.cgi?id=988
Best regards,
Thierry Boileau
Hi,
I use Restlet in a servlet container, using the ServerServlet.
In the web.xml I have added the org.restlet.component param and set my
specific
Hi,
I use Restlet in a servlet container, using the ServerServlet.
In the web.xml I have added the org.restlet.component param and set my
specific Component class.
When it comes to the applications for this component, I have to be able to
dynamically add and
remove applications.
But once
.
With having access to the Servlet Context, you can then access the
Spring Context by:
web.xml
listener
listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
/listener
context-param
param-namecontextConfigLocation/param-name
: mercredi 7 mars 2007 09:53
À : discuss@restlet.tigris.org
Objet : Re: Servlet Context
Hey Jerome,
I did have a look at the org.restlet.ext.spring.SpringContext
class. It
seems it requires:
SpringContext springContext = new SpringContext(getContext());
springContext.getXmlConfigRefs
Hi,
I was wondering if a way to access the ServletContext could be added to
the code. This would be useful for Spring and I presume other IoC
frameworks.
It would not tie Restlet to any other libraries or harm it as far as I
can see.
As per shloks example, it would require changes to
Hi Jonathan,
When using the ServerServlet, the Restlet's context already wraps the
Servlet's context (logging, resource loading, parameters, etc.). Why would
you need a direct access to the Servlet context?
Best regards,
Jerome
-Message d'origine-
De : Jonathan Hall [mailto:[EMAIL
: Re: Servlet Context
Hi Jerome,
Thankyou for responding.
The use case I had in mind was for creating a springContext without
hardcoding the configuration xml locations:
WebApplicationContext springContext =
WebApplicationContextUtils.getWebApplicationContext(getServlet
Context
Hello!
I'm working to upgrade our Tomcat servlet-based Restlet code to 1.0B20,
from 1.0B18. I think I have almost everything done, but one thing
that's proving a bit difficult is getting access to the servlet
parameters inside of my Application.
I'm using a stock ServerServlet, the
to
certain parameters (such as the location of a Lucene index,
or whether
to enable a certain feature) that are currently stored as context
parameters to our existing, non-REST servlet.
Ok.
I've started using ServerServlet, but it doesn't seem to pass the
servlet context parameters through
9 matches
Mail list logo