I can see from the docs
(http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html) that
I can rewrite urls to be friendlier quite easily.

 

What I don't see anywhere is a way to stop creating pages with the
".html".  This is important because most editors consider extension when
deciding how to do markup.

 

Does anyone know where tapestry decides that a particular page is
located in the path at "[pagename].html", and how I'd change that to
something else?

 

Ultimately, my goal here is to be able to be able to make a file named,
for instance:

MyTemplate.xml

 

Which is perhaps a tapestry template that specifies an xml-fo document
when you render it, and be able to render that as:

http://localhost:8080/app/MyTemplate.pdf

 

rather than having a file named "MyTemplate.html" and having to refer to
the page as:

http://localhost:8080/app/service=xmlconverter&page=MyTemplate

 

Note that I do know how to do URL remapping, and can create encodings.
My question is how to avoid the use of the html extension.

 

Thanks for your help!

Reply via email to