Object onActivate(final String jsonRequest){
return new StreamResponse() {
private InputStream inputStream;
public void prepareResponse(Response response) {
我正在使用上面的代碼來生成XML作爲響應。當我在瀏覽器中測試它時,它工作正常。但是,當我從Android應用程序發送我的請求時,我在服務器端出現以下錯誤。Tapastry有關沒有tml僅適用於某些請求的錯誤
[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Page catalog/Index did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering.
java.lang.RuntimeException: Page catalog/Index did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering.
你怎麼做你的在Android的請求 –