我想不出怎么做这件事。有人在调用FileReference.browse()后选择并生成图像。我拍摄了这张图片,并在flash中制作了一个缩略图。
然后,我像这样上传图像:
var newFileReq:URLRequest = new URLRequest(FILE_UPLOAD_TEMP);
newFileReq.contentType = "application/octet-stream";
var fileReqVars:URLVariables = new URLVariables();
fileReqVars.image = myThumbImage;
file
我有一个ASPX页面,在那里我上传了一个服务器端按钮点击事件的图像到服务器。在我的页面中,它将显示可用图像(如果存在)。当我上传一张图片时,它会用新图片替换旧图片。现在,在上传之后,同样的图像也会显示出来。如何解决这个问题?我使用了window.location.reload() javascript函数来刷新,但是之后它就不工作了。它正在再次张贴页面。
这是我的代码
Do UploadImage(studentId,mode); // Function to upload image
StringBuilder sbc = new StringBuilder();
我有一个图像上传场景是perf。用千分尺测试。
使用千分尺的
步骤:
1. Launched Jmeter2.9
2. Added HTTP server to the Workbench, port 8080
3. Set the IE Network settings to Proxy, port 8080 and localhost
4. Launched xyz.aspx web page
5. Logged into the application
6. Clicked on upload image and selected the Image
观察:
图片没
我读到,出于安全原因,上传的文件路径不显示,也不能读取或更改(尽管我可以在显示在“上传”按钮旁边的文本框中读取它)。
这是我的要求
我有html页面,其中包含未知数量的文本框和上传按钮,因为它是动态生成的,webform1.aspx将处理读取和数据库(access)处理。
如果我有15个问题,每个问题都有3个输入(答案,注释,照片),这意味着我将有15个答案,15个评论和15张照片。
通过这样做,我成功地在我的webform.aspx中处理了答案和注释:
For i = 0 to Request.Form.Count -1
Response.Write(Request.Form(i))