# Viewing html in the Servoy Version 3.0a9-build 357 Web clien

**URL:** <https://forum.servoy.com/t/viewing-html-in-the-servoy-version-3-0a9-build-357-web-clien/4983>\
**Category:** Classic Servoy\
**Created:** [October 28, 2005, 5:14pm UTC](https://forum.servoy.com/t/viewing-html-in-the-servoy-version-3-0a9-build-357-web-clien/4983 "2005-10-28T17:14:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akalehzan](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@akalehzan](https://forum.servoy.com/u/akalehzan)\
**Post date:** [October 28, 2005, 5:14pm UTC](https://forum.servoy.com/t/viewing-html-in-the-servoy-version-3-0a9-build-357-web-clien/4983/1 "2005-10-28T17:14:45Z")

</div>

Hi all,

Im testing Servoy Developer Version 3.0a9-build 357  
Java version 1.5.0\_04-b05 (Windows XP)

I have a method with the following content:  
var household\_id = “id\_to\_persons\_in\_household.household\_id”

if (household\_id != null)  
{

var household\_id = “id\_to\_persons\_in\_household.household\_id”  
var query5 = "select Subj\_num, household\_id, cast (date\_info\_acquired as char(12)) from persons\_in\_household where household\_id = " + id\_to\_persons\_in\_household.household\_id + “”;  
var dataset = databaseManager.getDataSetByQuery(controller.getServerName(), query5, null, 999999999);  
var col\_count = 0;

globals.txt90 = ‘\<table border=“1” bgcolor="00FFFF"style=“color:black” style=“font-size:100% row 1, cell”\>’ // starts the html string

for ( var i = 1 ; i \<= dataset.getMaxRowIndex() ; i++ )  
{  
dataset.rowIndex = i;  
globals.txt90 += ‘’ + dataset[1] + ’  
'+dataset[2]+ ’  
'+dataset[3]+ ’  
'+dataset[4]+ ’  
'+dataset[5]+ ’  
'+dataset[6]+ ’  
'+dataset[7]+ ’  
'+dataset[8] + ’  
'+dataset[9]+ ’  
'+dataset[10] + ’  
'+dataset[11] + ’  
'+dataset[12]+ ’  
‘+dataset[13]+’  
'+dataset[14] + ’  
'+dataset[15]+ ’  
‘+dataset[16] + ’  
‘+dataset[17]+’’; // displays field\_one,field\_two, three, four, and five  
if (++col\_count == 12)// max 12 values for each row of data  
{  
globals.txt90 += ‘’;  
col\_count = 0;// new row of data  
}

}  
globals.txt90 += ‘’ // closes the html string

}

///////////////////////  
When I call the above method in the Servoy Webclient “[http://localhost:8080/servoy-webclient](http://localhost:8080/servoy-webclient)” I see the following in the servoy form:

| 3131 63 May 23 1999 | 3132 63 May 23 1999 | 3133 63 May 23 1999 | 3135 63 May 23 1999 |

///////////////////////////////  
However, if I call the method in the Servoy developer I see the following:

May 23 1999 3132 63  
May 23 1999 3133 63  
May 23 1999 3135 63

/////////////////////

I was wondering if anyone having the same problem that Im having.

Please let me know.

Thanks in advance,

Abrahim
