473,385 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

java socket

I have a program in which i need to use sockets(java) to send the data from server to client and vice versa.In this case i'm using "net simple J" as server and my application as client.So long i'm successful to send the data from server to client i.e from "net simple J" to my application.But sending from my application(client) to net simple J(server),i'm having trouble.Actually i m confused regarding how to send data from my application.As it must be dynamic,so the data must be send through user interface by user,i'm using jsp for front end.

Can anyone tell me how can i send the data from client side(my application) using jsp to net simple J(server).
Your help is most appreciated.
Thanks.
Mar 18 '12 #1
2 1432
r035198x
13,262 8TB
There are notes and an example available here:http://docs.oracle.com/javase/tutori...rking/sockets/
Mar 19 '12 #2
Thanks,i will go thru it.
Mar 19 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: niko | last post by:
I need to write a java program that is waiting till a socket client connects to it, after a certain time, about 15sec the client will disconnect or the java app will disconnect the client. Right...
30
by: Richard | last post by:
Level: Java newbie, C experienced Platform: Linux and Win32, Intel Another programmer and I are working on a small project together. He's writing a server process in Java that accepts input...
6
by: Jason Chu | last post by:
situation: I'm uploading file to my application using a java applet sending the request (the file) through socket to my asp.net page. On my asp.net page, I've override the httpmodule to take in...
1
by: Jason Chu | last post by:
I've written a java applet to write multipart form to post to asp.net page. It works, asp.net can read all the form values and things i wanted from the socket posting. Now I want to get some sort...
4
by: jediknight | last post by:
Hi, I am trying to establish whether I can have a C# socket server and Java socket clients. From all the examples I have seen on the web refer to Java Servers and C# clients. Can anyone point...
3
by: madsornomads | last post by:
Hi all, I have a problem with reading from a Java server after I have written to it - it just hangs. It works fine if I just write to the server and not try to write. I have read the HOWTO on...
2
by: jlparise | last post by:
Hey everyone, I am really rusty on my Java socket programming and am having some confusing problems. I don't need the code debugged(even though it doesn't work). I'm not going to make you dig...
5
by: ranajui | last post by:
design a protocol where the communication between a client and a server is established by means of socket connection in java.
2
by: rayoflight | last post by:
This is how my test program works. Server will encrypt some text and sends it over to the client. The client will then decrypts it. However I have some problem decrypting it. When I play...
1
by: Rohan Thakare | last post by:
i am having a file containg data for students name and their marks. i am sending this file from client to server using Socket clientSocket = new Socket("127.0.0.1", portNo); OutputStream os =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.