View Full Version : How to transfer large data to HTML page without being in HTML file?
askman
06-03-2002, 11:01 AM
:rolleyes:
I want to transfer large data(20K text,for example) to a HTML page, this data will be used by a control in this page.
But I don't want this data being in HTML file. This means I can't use "hidden" type in form to transfer this data.
This control can only accept large data directly, it can't accept URL of this large data(stored in a file at server side).
So how should I do?
Dr. Web
06-03-2002, 11:39 AM
your not being very clear as to 'what' is accepting the data and 'how' it should get it.
You could always just put the data in a textarea, and submit it to the target page with a method of post (which hides the content in the body instead of the url).
Jon Hanlon
06-03-2002, 06:16 PM
In IE5 there is a Download Behavior (http://msdn.microsoft.com/workshop/author/behaviors/reference/behaviors/download.asp), otherwise you could check out theTabular Data Control (http://msdn.microsoft.com/workshop/database/tdc/overview.asp?frame=true), or the Data Source Control (http://msdn.microsoft.com/library/en-us/dnacc2k2/html/ODC_acc10_DSCOM.asp?frame=true), all by Microsoft.
askman
06-04-2002, 03:02 AM
Dr. Web, Jon Hanlon,
Thank you for your replay!
Maybe I didn't say very clearly last time, now I list my source code to you:
/********************************************************/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<TITLE></TITLE>
</HEAD>
<BODY>
<object id="SC" width="960" height="720" classid="URL of Control">
<param name="Input" value= ????>
</object>
<script language='JavaScript'>
function SetResult()
{
document.postform.Result.value = SC.Output;
}
</script>
<form method="post" action="URL of A Servlet" name="postform" onsubmit="SetResult()">
<input type="hidden" name = "Result">
<input type=SUBMIT name="Submit" value="Submit">
</form>
</BODY>
</HTML>
/********************************************************/
As you see, the result("SC.Output") of the "SC" control can be transfer to server side without being read by user.
My aim is that: when "SC" control is loaded, the "SC.Input" has already been assigned to a large data and this large data will also not be read by user.
How should I write that ???? or add some other statement?
askman
06-21-2002, 03:41 AM
Thank you for all your answer,
I get a wsdl file(see attached file) from Forte4Java.
When I use wsdl.exe(in Visual Studio .NET) to generate a proxy for above wsdl file, it always display following message:
/**********************************************************/
C:\temp>wsdl.exe StockService.wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.0.3705.0]
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
Error: Cannot find definition for http://schemas.xmlsoap.org/wsdl/:StockServiceB
inding. Service Description with namespace http://schemas.xmlsoap.org/wsdl/ is
missing.
Parameter name: name
If you would like more help, please type "wsdl /?".
/**********************************************************/
Would you please tell me how to reslove this problem?
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.