Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
xmexg authored Nov 28, 2022
1 parent 4c02eb8 commit 8d696b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
Binary file modified build/classes/data/Message_Bean.class
Binary file not shown.
7 changes: 7 additions & 0 deletions src/main/java/data/Message_Bean.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package data;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

/**
Expand All @@ -10,6 +12,11 @@
*
*/
public class Message_Bean extends HttpServlet{


public void init(ServletConfig config) throws ServletException{
super.init(config);
}

/**
* 获取公钥
Expand Down
12 changes: 0 additions & 12 deletions src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<jsp:useBean id="MessageBean" class="data.Message_Bean" scope="request" />
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -94,16 +93,5 @@
</div>
</div>
</div>
<!-- <div id="rsa_p">
<%=MessageBean.getRSAPK() %>
</div> -->
<div id="RSA">-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnGcSoZJN08opkzHKOw6b
s+5lqp0C3m8dExLm9HZuoPOlzDuSAl6pNQr8Dwg9szHbqnY3AUGinCHUKGkOKTyM
Cg6Q3hst2DZLm5JNAAd+SomWkNLpd+MismCyLLQQEsDJYnywhs19i9nD1XBu2oh0
fyggS8++DzIdCD/yvQkQ9COf2QroMSBCNNkasCsuw3oYMWVYdcwNkT4ETIqTJMrK
uMm+ma/5nr8dBGDdEPeZhMV5LFlroZXpBpD8nYBQWpGftq4udJ70448074W5P59g
bymKbPBfMDK6SHJcc5BT0TQ+qi51a0e/4RIW0JEzBQIScOLRIdB6czwqUczxt2Bt
EQIDAQAB -----END PUBLIC KEY-----</div>
</body>
</html>

0 comments on commit 8d696b9

Please sign in to comment.