Hello, I have a dispatcher which matches some URL pattern like this:
public boolean dispatch(Request request, Response response) throws IOException { String path = request.getPath(); // just imagine this works ok String uglyWord = request.getContextPath() == "" ? StringUtils.substringAfterLast(path, "/") : path.substring(1); if (uglyWordSet.contains(uglyWord)) { // return some XML if url contains some ugly word // WHAT IS THE BEST APPROACH TO RETURN XML (STREAM) ? return true; } return false; } I know how to create a page which returns xml stream response (I actually have one). Can I just reuse this page? Using T 5.0.18. Regards, Borut --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org