something like this in a ServletFilter;
doFilter(Request request, Response response) {
String configDir = our.Config.get("themesdir");
File themesDir = new File(configDir);
Servlet s = getDefaultServlet(themesDir);
s.service(request, response);
}
Thanks,
Robbert-Jan Roos
Hi,
We've been playing around with the DistributedContext, and setAttribute
getAttribute works perfectly.
I was wondering if it is possible to get a distributed
ServletContextAttributeListener.
So when we do setAttribute("foo", "bar") on cluster node1 I would like to
receive a ServletContextAt
Hello,
After receiving some excellent help on my other topic, I thought I'd try
here again. This problem is related to the application I am making in my
other thread, but you needn't know the specifics. I'll just give you the
necessary information.
The webapp has to register hits and those have
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Robert,
>
> Robbert wrote:
>> Christopher Schultz-2 wrote:
>>> Whether or not you use struts, I highly recommend that you avoid tricks
>>> like calling a servlet
Apologies for the late reply. I've had some more pressing to attend to.
Christopher Schultz-2 wrote:
>
> Robbert,
>
>> Christopher Schultz-2 wrote:
>>> You have your process turned upside down, here.
>>
>> Why is the process turned upside down, exact
Christopher Schultz-2 wrote:
>
> Robbert,
>
>> Hm, alright. Should all else fail, is it possible to let a Servlet handle
>> the CSS?
>
> You don't really want to do this.
>
> No, especially since it's not needed anymore.
Christopher Schult
Caldarale, Charles R wrote:
>
>> From: Robbert [mailto:[EMAIL PROTECTED]
>> Subject: RE: CSS not being used when a Servlet is involved
>>
>> Hm, alright. Should all else fail, is it possible to let a
>> Servlet handle the CSS?
>
> Some servlet
Caldarale, Charles R wrote:
>
>> From: Robbert [mailto:[EMAIL PROTECTED]
>> Subject: RE: CSS not being used when a Servlet is involved
>>
>> Combining that with what you just said, I assume that you're
>> basically saying that my servlet tries to handle t
Caldarale, Charles R wrote:
>
>> From: Robbert [mailto:[EMAIL PROTECTED]
>> Subject: Re: CSS not being used when a Servlet is involved
>>
>> I'm using a link tag. It works fine if I take out the lines
>> in web.xml that define the Servlet + Servlet
Caldarale, Charles R wrote:
>
>> From: Robbert [mailto:[EMAIL PROTECTED]
>> Subject: Re: CSS not being used when a Servlet is involved
>>
>> I'm calling the Servlet with
>>
>
> Shouldn't the above be:
>
>
> Isn't the leading
David Smith-2 wrote:
>
> 1. The location of servlet classes is documented in the spec. Place
> them in either a directory structure that reflects the package structure
> under WEB-INF/classes or in a jar file whose internal folder structure
> reflects the package structure.
>
> Ex.: Suppose
Christopher Schultz-2 wrote:
>
> Robbert,
>
>> (Yes, I have three locations for the statistics servlet. I don't know
>> where
>> to place it!)
>
> See below.
>
>> $CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de
>
Hi, I have the following problem:
If I include the Servlet using the jsp:include tag and if the web.xml file
is configured correctly, it will invoke the Servlet, but the CSS won't load.
If I change the URL pattern, the Servlet won't be invoked (with a "Resource
unavailable" error) but the CSS is
13 matches
Mail list logo