c++ send HTML format in java

Hi,

Is it possible to send a string format or an object in which the pack it as

http://localhost/aa:aa:&codex=12334&a=424

At first I think string can be pass to java program but my they say that i need to put it on an object or a bytes.

is there a possibility or library for it?

thanks.
Can you restate the problem clearly.
Sorry for the confusion.

Its something like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

int parser::funcParser(fA &a, fA &b) {
  int cnt;
  int i;
  int x;

  std::string aa;

  std::string gg;

  string::size_type idx;
  char buf[5];
  aa= a.getField(35);


  
if(aa.empty() )
{
	return 12345;

}
else{


  if(!aa.empty())
  {
  
  	 idx = aa.find("=");
	 gg= aa.substr(0, idx);



  }
  
 
}


  return 0; 	
  
}


that function will give me the value, and that value will be in this format " http://localhost/aa:aa:&codex=gg&a=424"
then i send that to a java application. they demand it to be on a bytes format or an object but what i think is it can be a string since i only added a calue of a gg.

is there some library that has an interpreter that can be used for of bytes or object or string?

because java application will only run or triggered if and only if it has this format -> "http://localhost/aa:aa:&codex=gg&a=424"

thanks.
Topic archived. No new replies allowed.