Quoting [EMAIL PROTECTED]:
[snip]
> So I'll be as -1 on adding this feature
> ( or CGI support, for this matter :-)
Damn! There goes my very next proposal =)
- Christopher
/**
* Pleurez, pleurez, mes yeux, et fondez vous en eau!
* La moitié de ma vie a mis l'autre au tombeau.
*---Corne
On Fri, 7 Sep 2001, Pier Fumagalli wrote:
> Of course none of this is portable across servlet containers, but we seem to
> easily forget about that :) Being Tomcat the Reference Implementation, as an
> ASF member, and Servlet JSR member, I'll never stop stressing out that IMNSO
> relying on conta
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Another ( and better ) solution - extend JspInterceptor ( well, the code
> needs some cleanup - again I would recomend you do that in j34 workspace
> ).
>
> Then you can add the dependencies and avoid any overhead - your XSP pages
> will run as fa
Another ( and better ) solution - extend JspInterceptor ( well, the code
needs some cleanup - again I would recomend you do that in j34 workspace
).
Then you can add the dependencies and avoid any overhead - your XSP pages
will run as fast as a servlet, without any extra dispatching or
intermedia
> > Thanks, craig, but i'm working with version 3.3. ¿isn't any
> > alternative avalaible?
>
> Nope ... if you map your extension to your servlet, you cannot also map it
> to the JSP servlet.
Of course there are alternative :-)
The easiest - have your xsp generate 'plain' jsp files, and redirect
On Thu, 6 Sep 2001, javi . wrote:
> Date: Thu, 06 Sep 2001 21:45:46 +
> From: javi . <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: xsl by extension
>
> Thanks, craig, but i'm working with version 3.3. ¿isn'
Ummm... perhaps invoke Jasper from your servlet?
Class clazz = Class.forName("org.apache.jasper.servlet.JspServlet");
HttpServlet jsp = (HttpServlet) clazz.newInstance();
jsp.init(context);
jsp.service(request, response);
That code is from Cocoon 2's JspGenerator, which uses Jasper to create
XML
Thanks, craig, but i'm working with version 3.3. ¿isn't any
alternative avalaible? it seems it should be a quite common
problem...
jv
>From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re
In a servlet 2.3 environment (i.e. Tomcat 4) you can do this sort of thing
with a Filter. You would map *.xtp to the JSP servlet, and then apply
your filter as well to the response.
Craig
On Thu, 6 Sep 2001, javi . wrote:
> Date: Thu, 06 Sep 2001 21:15:29 +
> From: javi . <[EMAIL PROTECTE