tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javi ." <>
Subject xsl by extension
Date Thu, 06 Sep 2001 21:15:29 GMT
hello everybody!!

i'm new here, and so excuse me if this thread has been
started (and closed) before. and xcuse me for my spelling ;)
my native language is java.

i'm trying to add to tomcat a nice feature of resin:
automatically apply a xsl transformation over all files
with .xtp extension (xml templates).

i've already done it, simply associating that extension
to my servlet. the servlet read the xsl path
from the .xtp itself.

the problem is that i want to allow the jsp code in the
xtp file to be executed, so i must retrieve it via http and not from
the os file system... but when i do it, of course, my
xtp servlet catch de call and began a recursive loop!

is there any way to avoid that? i've look at the code
by about ten hours and i don't see how to manage this

thank you very much in advance.

Javi Moreno (jv)

ps: i promise to post the servlet ;)

pps: yes, i will try {to take another English course...}

Descargue GRATUITAMENTE MSN Explorer en

View raw message