Permalink
Browse files

fix a bug in trunk

  • Loading branch information...
1 parent 1a967e1 commit 9498d71ec6b8f78d774a6927928613bbb1e528f2 @liweinan liweinan committed Nov 2, 2012
@@ -12,7 +12,6 @@
<input type='button' onclick='testHeaderParam();' value='Test Header Param'/>
<input type='button' onclick='testRESTEasy731False();' value='RESTEASY-731-false'/>
<input type='button' onclick='testRESTEasy731Zero();' value='RESTEASY-731-zero'/>
-
</form>
<div id="path_result"></div>
@@ -59,8 +59,8 @@ protected void service(HttpServletRequest req, HttpServletResponse resp)
logger.debug("Serving " + pathInfo);
logger.debug("Query " + req.getQueryString());
}
- PrintWriter printWriter = resp.getWriter();
- this.apiWriter.writeJavaScript(uri, printWriter, service);
+
+ this.apiWriter.writeJavaScript(uri, req, resp, service);
}
public void scanResources(){

0 comments on commit 9498d71

Please sign in to comment.