Hi everyone,
I am trying to post some data to a form using the XMLHTTP object, and have run into a problem trying to find the proper
location of the receiving page.
The form points to a directory, like so:
<form action="/servlet/Login" target="_top" method="POST" enctype="x-www-form-encoded" onSubmit='retur n goodform()'>
but the XMLHTTP object requires a specific file reference.
Does anyone have any ideas on how to find the specific file that receives the form submission?
Btw, the site is http://www.imrmls.com
Thanks in advance for any help or information you can provide.
Sincerely,
Shannon 7 6210
Shannon wrote: Hi everyone,
I am trying to post some data to a form using the XMLHTTP object, and have run into a problem trying to find the proper location of the receiving page.
The form points to a directory, like so:
<form action="/servlet/Login" target="_top" method="POST"
Shouldn't that be "/servlet/Login.asp" ? This string should not work unless
you have a default asp page in a folder called "Login", and even then, I'm
not sure it would work ...
enctype="x-www-form-encoded" onSubmit='retur n goodform()'>
but the XMLHTTP object requires a specific file reference.
Does anyone have any ideas on how to find the specific file that receives the form submission?
Do you mean the file-based path to the receiving page? I've never had to
supply that in my xmlhttprequest calls. A file does have to be specified.
But a relative url can be used. You can download my dynamic listbox demo
available at http://www.thrasherwebdesign.com/ind...asp&c=&a=clear
to see an example.
Or do you mean that you don't know the name of the file you are calling? To
which I can only reply: why not? You wrote it didn't you? :-)
HTH,
Bob Barrows
Maybe this?? Assuming "Login" is an ASP file. You didn't give it an
extension in the code.
<form action="http://www.imrmls.com/servlet/Login.asp">
--
Phillip Windell [CCNA, MVP, MCP] pw******@wandtv .com
WAND-TV (ABC Affiliate) www.wandtv.com
"Shannon" <shannon@d-v-a-p-s_withnodashes_ .com > wrote in message
news:9e******** *************** *********@4ax.c om... Hi everyone,
I am trying to post some data to a form using the XMLHTTP object,
and have run into a problem trying to find the proper location of the receiving page.
The form points to a directory, like so:
<form action="/servlet/Login" target="_top" method="POST"
enctype="x-www-form-encoded" onSubmit='retur n goodform()'> but the XMLHTTP object requires a specific file reference.
Does anyone have any ideas on how to find the specific file that
receives the form submission? Btw, the site is http://www.imrmls.com
Thanks in advance for any help or information you can provide.
Sincerely,
Shannon
On Mon, 29 Sep 2003 06:53:32 -0400, "Bob Barrows" <re******@NOyah oo.SPAMcom> wrote: Shannon wrote: Hi everyone,
I am trying to post some data to a form using the XMLHTTP object, and have run into a problem trying to find the proper location of the receiving page.
The form points to a directory, like so:
<form action="/servlet/Login" target="_top" method="POST"
Shouldn't that be "/servlet/Login.asp" ? This string should not work unless you have a default asp page in a folder called "Login", and even then, I'm not sure it would work ...
enctype="x-www-form-encoded" onSubmit='retur n goodform()'>
but the XMLHTTP object requires a specific file reference.
Does anyone have any ideas on how to find the specific file that receives the form submission?
Do you mean the file-based path to the receiving page? I've never had to supply that in my xmlhttprequest calls. A file does have to be specified. But a relative url can be used. You can download my dynamic listbox demo available at http://www.thrasherwebdesign.com/ind...asp&c=&a=clear to see an example.
Or do you mean that you don't know the name of the file you are calling? To which I can only reply: why not? You wrote it didn't you? :-)
HTH, Bob Barrows
Thanks, Bob
No -- sorry. My post was written bleary-eyed and frustrated. I am trying to utilize the call from my server to
automate information retrieval off-server (from an information source that we subscribe to). Thus, I do not have access
to the file names or structures on the server I am calling, and must rely on inspection of the HTML source code
displayed on the actual form to derive both the form element names and the submission handler.
I have never seen a submission handler referenced by a relative folder path only (with no file name), and don't have any
idea where to send the POST data.
the form can be seen at http://www.imrmls.com
-- it's the login screen form that comes up as the default page.
Thanks for your help and info -- will check out the link you provided.
Shannon
I know -- confusing. I didn't specify clearly enough that I did not write the form code. I am trying to POST data to
it to automate information retrieval from a site to which I subscribe. The Form's Action propeorty is definately set to
a relative folder reference -- something I have not seen in a form.
FYI -- the form can be viewed at www.imrmls.com -- it's the login form that appears as a default.
Odd, indeed. Thank you for your time and information,
Shannon
On Mon, 29 Sep 2003 08:40:18 -0500, "Phillip Windell" <pwindell{at}wa ndtv*d0t*com> wrote: Maybe this?? Assuming "Login" is an ASP file. You didn't give it an extension in the code.
<form action="http://www.imrmls.com/servlet/Login.asp">
You would have to post to http://www.imrmls.com/servlet/Login
--
Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"Shannon" <shannon@d-v-a-p-s_withnodashes_ .com > wrote in message
news:dg******** *************** *********@4ax.c om... I know -- confusing. I didn't specify clearly enough that I did not write
the form code. I am trying to POST data to it to automate information retrieval from a site to which I subscribe.
The Form's Action propeorty is definately set to a relative folder reference -- something I have not seen in a form.
FYI -- the form can be viewed at www.imrmls.com -- it's the login form
that appears as a default. Odd, indeed. Thank you for your time and information,
Shannon
On Mon, 29 Sep 2003 08:40:18 -0500, "Phillip Windell"
<pwindell{at}wa ndtv*d0t*com> wrote:Maybe this?? Assuming "Login" is an ASP file. You didn't give it an extension in the code.
<form action="http://www.imrmls.com/servlet/Login.asp">
Shannon wrote: On Mon, 29 Sep 2003 06:53:32 -0400, "Bob Barrows"
No -- sorry. My post was written bleary-eyed and frustrated. I am trying to utilize the call from my server to automate information retrieval off-server (from an information source that we subscribe to). Thus, I do not have access to the file names or structures on the server I am calling, and must rely on inspection of the HTML source code displayed on the actual form to derive both the form element names and the submission handler.
I have never seen a submission handler referenced by a relative folder path only (with no file name),
Neither have I.
and don't have any idea where to send the POST data.
the form can be seen at http://www.imrmls.com
-- it's the login screen form that comes up as the default page.
Can you ask someone at the site? Thanks for your help and info -- will check out the link you provided.
It probably won't help in this situation.
Bob Barrows This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shannon |
last post by:
Hi, all -- this is a weird question that does not really have to do with javascript, but I used to spend a lot of time
here, and am hoping someone might be able to help...
I am trying to automate some information retrieval on a subscription web service I belong to, and have had much luck
with similar sites using the XMLHTTP com to automatically POST the form data. However, in this case, I can't find the
submission handler. The line in...
|
by: MLH |
last post by:
I can launch a session of IE from Access 97
database. For instance, I want to page my
friend, I go to http://www.arch.com/message/
then type his 800XXXXXXX number in the
field and click Continue...
I would be happy if I could program
MS Access with the properly formatted
URL string to automatically type the 10-digit
phone number in there for me - so I don't
|
by: Goldwind |
last post by:
Hi,
I"m writing a page in asp. When the user presses on Submit the form is
passed by Post to a url in a different site.
The problem is that i want to do this action in script, meaning call a
function which will call the url and pass the form by Post.
There are :
Server.Transfer - passes only to a page in the same site, so no good for me.
Response.Redirect - Doesnt pass and form or query parameters so no good for
|
by: david.lindsay.green |
last post by:
Hello all, I am quite new a web scripting and making web pages in
general and I have stumbled across a problem I have as yet been unable
to solve. I am trying to take the contents of a textarea box and save
it to a file. This step is not to hard however the contents of the
textarea is mostly latex source so it contains just about every special
character you can imagine. My question is this, how do I save an exact
copy of the textarea...
|
by: pbd22 |
last post by:
hi.
could somebody tell me, when uploading a file, i know the form where
the upload component is must
have enctype=multipart/form-data but, is the same true for the form
with the server code to handle the upload?
thanks.
| |
by: Pupkin |
last post by:
Hi,
I've got a web form that needs to submit its data in a number of
different directions.
I was hoping to use XMLHTTP to post it to two external service providers
EROI and Salesforce)
So far I've just been working on the EROI part, and while I don't get
any errors, it doesn't appear to be working, as no new data is showing
|
by: ak1dnar |
last post by:
Hi, I got this scripts from this URL
There is Error when i submit the form.
Line: 54
Error: 'document.getElementbyID(....)' is null or not an object
What is this error.
Complete Files
|
by: rpjd |
last post by:
I am trying to submit entries in a form to a database. I am using
"
within my submission form and
$_POST
I am getting the connection to the database but I my script is not executing, probably due to a syntax error which I can't see.
here is the code, first the submission page, then the php script
|
by: BarryX |
last post by:
Hi,
How do I simulate this from the server side:
<form name="SearchForm" method="POST" id="SearchForm"
action="http://SOMEURL/Search.ASP?Parm1=1&Parm2=2">
I have generally been posting data using:
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |