Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can Http POST Method pass object?

 
tong yuxin
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
recently, I just start to learn J2EE.

i read some code find all post method are passing the parameters in their body to Web server.

my question is :
Could a post method pass a object or object reference in their body to Web server(container). if it does, it will so cool. just like rmi.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The data posted typically comes from a browser, and the browser doesn't know anything about 'objects'

It is possible to set up applet-servlet communication, but typically the objects are sent (via an object stream) to the client rather than the other way around. I see security issues in accepting object data from clients.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic