This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Class sending data to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Class sending data to servlet" Watch "Class sending data to servlet" New topic
Author

Class sending data to servlet

Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Hi
I have one class which has some vectors.I want these vectors to send to servlet.How can i do this.I tried with URLConnections...
Can anyone help me
AJit


Thankx
Ajit
vikinsa
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
Hi!,
That class of yours should be a java function which should return vector type. Now if that function class is in your calsspath you can call that in your servlet and get the returned Vector. Vector is all yours. Otherwise you'll have to try some things with serialization.

Originally posted by Ajit Kanada:
Hi
I have one class which has some vectors.I want these vectors to send to servlet.How can i do this.I tried with URLConnections...
Can anyone help me
AJit


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Sorry
Bur i coulnt get u what ur saying...I want to pass vector from a java class to Servlet
Can u explain how to do it?Thanx for reply
Bye
Ajit
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Class sending data to servlet
 
Similar Threads
Sigleton class to MultiThreaded class
John Hunt Q.30
Object creation
Concrete class
Inner Classes