You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Henry <hx...@binary-solutions.net> on 2002/03/07 08:11:09 UTC

client side object to server side

I have defined some client side objects using javascript, these objects' number and value varies during the interaction with users. But when the user submit the form, I want an easy way to send the objects to the server (servlet, say).

I am wondering this is doable by having a hidden field which the value is the object (rather than a string or a number)?

thanx in advance.

Re: what about server to client side using javascript

Posted by Steve <st...@yahoo.com>.
Well, since this is a tomcat list I would say that you can use 
tomcat/java/servlets/jsp to send dynamically generated html with 
dynamically generated embedded javascripts in them back to a browser.

Once there these javascripts ( embedded in the dynamically generated 
html ) can operate on javascript objects.....most of which control HTML 
form elements ( <select> tags, menus, textareas etc ).

Henry wrote:

> I am wondering this can be done or not:
> A server send a whole bunch of  information to client side. These are
> treated as objects on the client side, and client side initiates javascript
> objects for them.
> 
> Are there any framework for that kind of job?
> 
> thanx a lot!
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


what about server to client side using javascript

Posted by Henry <hx...@binary-solutions.net>.
I am wondering this can be done or not:
A server send a whole bunch of  information to client side. These are
treated as objects on the client side, and client side initiates javascript
objects for them.

Are there any framework for that kind of job?

thanx a lot!


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>