Skip to content

Commit e045f3c

Browse files
committed
update post
1 parent c16a845 commit e045f3c

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

jquery/.idea/workspace.xml

Lines changed: 23 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery/ch6/jsp/demo4-post/post3.jsp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2+
<%
3+
request.setCharacterEncoding("UTF-8");
4+
String username = request.getParameter("username");
5+
String content = request.getParameter("content");
6+
out.println("{ \"username\" : '"+username+"' , \"content\" : '"+content+"'}");
7+
%>

0 commit comments

Comments
 (0)