I've never had that problem (sounds like something is wrong with your
tomcat setup).
I got my sample from this page (when I first tested it)..

http://marting.develop.com/soap/simple/simpleDOM.html

check it out, it works fine there, and also it works fine here.

I think this provides the functionality you are looking for. 



hope it helps, 

-reynir




-----Original Message-----
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: 8. apríl 2002 20:09
To: Tomcat Users List
Subject: Re: client interact with server -- other than "submit"?


Thanks  Reynir

I tried your approach, however, the activeXobject seems can not interact
with jsp/servlet very well. I got the whole JSP source code as the
"request.responseText."  (I didn't use SOAP, and i change the
requestHeader
to something else)

must i use soap for this kind of transactions at all?


>
> it is possible to send requests and get responses with Javascript in
> IExplorer (5,5+)
>
> I used it to create test clients for SOAP applications :
>
> <script>
>
> var objRequest = new ActiveXObject( "MSXML2.XMLHTTP.3.0" );
>     objRequest.open( "POST", SOAPForm.Url.value, false );
>     objRequest.setRequestHeader ( "SOAPAction", smn );
>     objRequest.send ( xml );
>     divResponse.innerText = objRequest.responseText;
>
> </script>
>
>
> I am not sure if this helps you, but at least I try :)
>
>  - [EMAIL PROTECTED]
>
>
>
>
>
>
> -----Original Message-----
> From: Williams Mark L DLPC [mailto:[EMAIL PROTECTED]]
> Sent: 8. apríl 2002 18:36
> To: Tomcat Users List
> Subject: RE: client interact with server -- other than "submit"?
>
>
> As far as I know, you can't get a standard browser to send form data
to
> the
> server without a "submit." If you want to repaint the form with the
data
> in
> the fields, you can send a new verson of the page and form with the
> variables "value"d with the entries. That way, the user doesn't lose
any
> entries. And fwiw, my recent experience indicates that the user's
> entries
> don't vanish like they used to, anyway. Not something to count on,
> though.
>
> Mark
>
> -----Original Message-----
> From: Henry [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 12:57 PM
> To: Tomcat Users List
> Subject: client interact with server -- other than "submit"?
>
>
> a little off topic here:
>
> is there a way for client side html/dhtml  interact with server side
> (get/set value into database) without resorting to "submit" function?
> The
> reason I want it is that once
> a page is submitted, its content is lost, unless manually reload and
> reset
> all user inputs,
> which is tiresome.
>
>
> thanx a lot!
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to