Merge branch 'main' of http://222.76.244.118:3000/Kane/servlet-learning
This commit is contained in:
commit
e6ee263254
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2022-08-23 21:28:26
|
* @Date: 2022-08-23 21:28:26
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2022-08-25 19:52:42
|
* @LastEditTime: 2022-09-05 23:17:19
|
||||||
* @FilePath: \tomcat-servlet\src\main\java\com\cpic\xim\ServletTest.java
|
* @FilePath: \tomcat-servlet\src\main\java\com\cpic\xim\ServletTest.java
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -66,7 +66,13 @@ public class ServletTest extends HttpServlet
|
|||||||
*****************************************************/
|
*****************************************************/
|
||||||
@Override
|
@Override
|
||||||
public void doPost( HttpServletRequest request, HttpServletResponse response )
|
public void doPost( HttpServletRequest request, HttpServletResponse response )
|
||||||
|
throws ServletException, IOException
|
||||||
{
|
{
|
||||||
|
PrintWriter writer = response.getWriter();
|
||||||
|
|
||||||
|
writer.write( "1" );
|
||||||
|
writer.write( "2" );
|
||||||
|
writer.write( "3" );
|
||||||
|
writer.write( "4" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user