|
@@ -160,8 +160,8 @@ public class ViewController extends Controller {
|
|
|
public void testdld() {
|
|
|
try {
|
|
|
String filePath = "http://172.28.244.106:8090/pacsimage/showreportbydiagidandpagenumber.action?diagrptid=ABA12F9079FB4017B7A77DF282C18ED7&pagenumber=0";
|
|
|
- String fileNameStr[] = filePath.split("/");
|
|
|
- String fileName = fileNameStr[fileNameStr.length - 2];
|
|
|
+ String fileNameStr[] = filePath.split("=");
|
|
|
+ String fileName = fileNameStr[fileNameStr.length - 2]+".jpg";
|
|
|
String fileStorePath = getFileWithUrl(filePath, fileName);
|
|
|
renderText(fileStorePath);
|
|
|
|