tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Switching default index page from xml to xql
Date Tue, 10 Oct 2006 14:03:51 GMT
> From: Kor Kiley [mailto:kor.kiley@uvm.edu] 
> Subject: Re: Switching default index page from xml to xql
> 
> The default eXist welcome page is index.xml.  The media 
> librarian working on the project has created an index.xql
> which she would like to be the welcome page.  The page 
> itself works fine but we don't know how to make it execute,
> by default, instead of an index.xml or index.jsp, etc.

What mechanism is used to render XQL into something visible?  Is there a
servlet that has to be run inside Tomcat (analogous to the JSP servlet
which turns .jsp files into servlets and runs them to generate html), or
is there some application on the client end that receives XQL and does
something with it?  If it's the former, you'll need servlet mapping in
your web.xml to direct the request to the proper handler; if the latter,
you'll need to add mime mapping to your web.xml to let the client know
what to do with the data stream.

When you say "the page itself works fine" what do you mean?  What are
you doing to exercise it?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message