String source = ; source = source.substring(1); // Remove leading slash String uri = source + ".html"; source = source + ".xml"; Edit with BXE Edit with one Form Edit with Forms Publish Deactivate Delete Logout Documentation Wiki /index.htmlApache Lenya Start Page /about.htmlAbout Apache Lenya Atom Feed RSS Feed Body HTML for BXE Config for BXE XSLT for BXE CSS for BXE RelaxNG for BXE