-1

I have a php program which generates data in xls format. I have to read each row and format the row in specific format and same the formatted message in txt format and then use a java program to post it to another application (this java does by socket programming).

Since i am new to socket programming how should i proceed 1)How should i reformat the message? 2)then connect to java socket program to post the text file? 3)How do i read the response from java socket program to text file? 4)Reformat the message back from txt to excel format?

Mani
  • 169
  • 1
  • 3
  • 16
  • You have asked 12 questions in the past but you have not accepted any answers.If any answer is useful then accept those – SpringLearner Nov 30 '13 at 06:22
  • since i am new to the forum,i didnt know that, will do that surely – Mani Dec 02 '13 at 04:19
  • you will find an arrow when you click on that then it will be highlighted in green – SpringLearner Dec 02 '13 at 04:20
  • see this [link](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) and see this link How Op accepted my answer http://stackoverflow.com/questions/20258833/i-want-to-parse-string-into-java-date-object/20258918#20258918 – SpringLearner Dec 02 '13 at 04:21
  • for few questions the answer is in the comment how can i mark it as answer? for example http://stackoverflow.com/questions/19970375/how-to-query-based-on-min-and-max-dates-in-mysql the answer is the comment itself – Mani Dec 02 '13 at 04:25
  • If the answer is in given in answer section then you can accept that but if the answer is in comment then you can not accept that – SpringLearner Dec 02 '13 at 04:26

1 Answers1

0

1)How should i reformat the message? This depends on your requirement.

2)then connect to java socket program to post the text file? Read thoroughly the following links oracle and javaworld

then use a java program to post it to another application (this java does by socket programming). this may be useful

Community
  • 1
  • 1
SpringLearner
  • 13,738
  • 20
  • 78
  • 116