ITeye博客

core servlet and JSP ---- 2

onehao · 2010-09-26 09:58 · 编程语言 · Markdown

3.8 Servlet Debugging

1. Use print statements.

2. Use an integrated debugger in your IDE.

3. Use the log file.

4. Use Apache Log4J.

5. Write separate classes.

6. Plan ahead for missing or malformed data.

7. Look at the HTML source.

8. Look at the request data separately.

9. Look at the response data separately.

10. Stop and restart the server.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。