📄 debug.htm
字号:
<html>
<head>
<title>Debug form.</title>
</head>
<body bgcolor="#A8A8B8">
<table border="1">
<caption><b>Debug form</b></caption>
<tr><td>
<form action="save.jsp" method="post" >
File to save<br>
<textarea name="image" cols="62" rows="4">iVBORw0KGgoAAAANSUhEUgAAACAAAAATBAMAAAADuhLEAAAABGdBTUEAALGP
C/xhBQAAAAFzUkdCAdnJLH8AAAAPUExURYSEhP///wAAAP//AP8AACykMFsA
AABsSURBVHjahdDBDcMwDENRWhsw9AJRuwCBLuAi+8+UQ+rGTg75NwkPECBg
LlDmAuBUoCyZfapbm4Tr1gJlybVvPt/XKMz6boHyX4iWBmGKdBf5i6cwSVpX
4fGKnoRpqQsdV+1TmLYkBW4Pyks7gc8WIpISYokAAAAASUVORK5CYII=
</textarea><br>
<input type="hidden" name="image_name" value="image.png">
<input type="hidden" name="image_type" value="image/png">
<input type="submit" >
</form>
<font size="-1">
<p>This form can help you to debug the "save.jsp" script.
If "save.jsp" raises an error you won't see the server response while saving the image.
This is because the "save.jsp" output goes to the applet (not to the browser).
<p>In that case you can debug the script sending a BASE64 encoded image with this simple HTML form.
The proper output of the original script looks as follows:</p>
</font>
<pre>
#SHOWDOCUMENT=view.htm
</pre>
</td></tr>
</table>
<p align="center"><a href="javascript:void(0);" onclick="window.close();">Close</a></p>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -