Convert HTML table to array
Hi,
As the subject stats i am trying to convert HTML tables to an array. It is a desktop application basically to performs a http request and is returned with a HTML table. I cant change the way the data is returned. (The data is from FDM remote server and is hard coded).
here is a sample of the table. The table layout will remain the same, only the contents (files) will change.
<table width="100%" border="1">
<tr>
<td>File name<br> </td>
<td>Size<br> </td>
<td>URL<br> </td>
</tr>
<tr>
<td>notepad2.zip</td>
<td>258 KB</td>
<td><a href="http://www.flos-freeware.ch/zip/notepad2.zip">http://www.flos-freeware.ch/zip/notepad2.zip</a></td>
</tr>
<tr>
<td>TeddyGuess.zip</td>
<td>308 KB</td>
<td><a href="http://myhost.com/Guess.zip">http://myhost.com/Guess.zip</a></td>
</tr>
</table>So ive started and looking at my code i cant help but think there has to be a smarter way!!
public String getCompletedDownloads() {
String tableString = makeRequest("compdlds.req");
tableString = tableString.replaceAll(
"</td><td>Size<br> </td><td>URL<br> </td></tr>", "");
tableString = tableString
.replaceAll(
"<table width=\"100%\" border=\"1\"><tr><td>File name<br> ",
tableString = tableString.replaceAll("</table>", "");
tableString = tableString.replaceAll("<a href=\"", "");
tableString = tableString.replaceAll("\"", "");
return tableString;
}Please any help would be great.
camickr wrote:
You could use a ParserCallback. It notifies you every time it finds a new HTML tag. Simple example:
[http://forums.sun.com/thread.jspa?forumID=57&threadID=696560]
Rob, you rock. I was thinking about how to parse some table data from a HTML page for a pet project just yesterday. Didn't know about the ParserCallback, but it seems to be a perfect fit for what I want to do. :-D
Similar Messages
-
do you have any way to convert HTML table ( in HTML file) to JTable?
Thanks in advance.Not that I'm aware, and I doubt you'll find built-in support for it any time soon. HTML "tables" and Java "tables" are two very different things. HTML table data is inlined whereas JTables are strictly an MVC design. HTML table data is static whereas JTable data needn't be; the same can be said for the layout, column widths, and column positions.
It would not be impossible to create a simple parser which read a basic HTML table element and generated a JTable/TableModel based on that information; the amount of work involved would be affected, of course, by the number of HTML table features you'd want to support.
What precisely motivates you to do this? Are you trying to create a Java web browser? -
How to convert html table with all its css properties into excel , by javascript or jQuery
hi,
<script type="text/javascript">
//working java script
function CreateExcelSheet()
var x = Table1.rows
var xls = new ActiveXObject("Excel.Application")
xls.Workbooks.Add
for (i = 0; i < x.length; i++) {
var y = x[i].cells
for (j = 0; j < y.length; j++) {
xls.Cells(i + 1, j + 1).Value = y[j].innerText
} xls.visible = true
function write_to_excel()
str = "";
debugger;
var mytable = document.getElementsByTagName("table")[0];
var rowCount = mytable.rows.length;
var colCount = mytable.getElementsByTagName("tr")[0].getElementsByTagName("td").length;
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
debugger;
ExcelSheet.Application.Visible = true;
for (var i = 0; i < rowCount; i++)
for (var j = 0; j < colCount; j++)
str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("td")[j].innerText;
ExcelSheet.ActiveSheet.Cells(i + 1, j + 1).Value = str;
//new funtion
function ExportToExcel(mytblId) {
debugger;
var htmltable = document.getElementById('Table1');
var html = htmltable.innerHTML;
window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html));
//new funtion 2
function write_to_excel2() {
str = "";
debugger;
var mytable = document.getElementById("Table1");
var rowCount = mytable.rows.length;
var colCount = mytable.getElementsByTagName("tr")[0].getElementsByTagName("th").length;
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
//ExcelSheet.Application.Visible = true;
for (var i = 0; i < rowCount; i++)
for (var j = 0; j < colCount; j++)
debugger;
// if (i == 0) {
// str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("th")[j].innerText;
str = mytable.getElementsByTagName("tr")[i].getElementsByTagName("td")[j].innerText;
ExcelSheet.ActiveSheet.Cells(i + 1, j + 1).Value = str;
ExcelSheet.autofit;
ExcelSheet.Application.Visible = true;
DisplayAlerts = true;
CollectGarbage();
//csss
function excelExportHtml(Table1, css1)
debugger;
if (css1) {
var styles = [];
//grab all styles defined on the page
$("style").each(function(index, domEle) {
styles.push($(domEle).html());
//grab all styles referenced by stylesheet links on the page
var ajaxCalls = [];
$("[rel=stylesheet]").each(function() {
ajaxCalls.push($.get(this.href, '', function(data) {
styles.push(data);
return $.when.apply(null, ajaxCalls)
.then(function() {
return "<html><style type='text/css'>" + styles.join("\n") + "</style>\n" + table.outerHTML + "</html>";
else {
return $.when({ owcHtml: Table1.outerHTML })
.then(function(result) {
return "<html>" + result.owcHtml + "</html>";
//new
function ExportToExcel() {
$(document).ready(function() {
$("#btnExport").click(function(e) {
window.open('data:application/vnd.ms-excel,' + $('#Table1').html());
alert("jhhklhhklhklh");
//new
$(document).ready(function() {
debugger;
$("[id$=myButtonControlID]").click(function(e) {
window.open('data:application/vnd.ms-excel,' + $('div[id$=divTableDataHolder]').html());
e.preventDefault();
alert("k");
function excel()
{debugger;
var tableToExcel = (function() {
var uri = 'data:application/vnd.ms-excel;base64,'
, template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>'
, base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) }
, format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, p) { return c[p]; }) }
return function(table, name) {
if (!table.nodeType) table = document.getElementById(table)
var ctx = { worksheet: name || 'Worksheet', table: table.innerHTML }
window.location.href = uri + base64(format(template, ctx))
</script>
i have tried all the above java script and jquery to convert an html table to excel, data are exporting correctly but i want that css of the table should also implent to excel thats not happening,even the property defined inside td and tr aare not implementing
in excelHi avinashk89,
Welcome to post in MSDN forums.
This is not the right forum for your question. Please post in
ASP.NET forums where you could get better support.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Convert table control table to array
have can I convert the table control to array at LabVIEW?
A table is a 2D array ! So there is nothing to do to convert a table to an array. See attached example with visible row and column headers.
Attachments:
Table to array.vi 20 KB -
Looping through an array to insert contents into an HTML table
Im trying to loop through a String array and insert the contents into an html table, unfortunately my coding is only filling in the first row in the table and ignores any additional info. Im using webservices that is connecting to a table in the database.
Info = ID + ";" + played + ";" + won + ";" + lost + ";" is the String im pulling into my client.
<table border = "1">
<tr>
<td><b>ID</b></td>
<td><b>played</b></td>
<td><b>won</b></td>
<td><b>lost</b></td>
</tr>
<%
try {
leglessclient.LegendServiceService service = new leglessclient.LegendServiceService();
leglessclient.LegendService port = service.getLegendServicePort();
String Info = port.displayLog();
String[] log = Info.split(";");
out.println("<tr>");
for (int a = 0 ; a < log.length; a++) {
for (int b = 0 ; b < 4; b++){
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
b++;
out.println("</tr>");
out.println("</table>");
} catch (Exception ex) {
// TODO handle custom exceptions here
%>
Any help would be greatly appreciated
thanks!firstly, if you have multiple rows.. you need to start each row with <tr> and end with a </tr>. You just have one in the beginning and end,which will obivously give data in one row.
out.println("<tr>");
for (int a = 0 ; a < log.length; a++) {
for (int b = 0 ; b < 4; b++){
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
b++;
out.println("</tr>"); -
Export to excel with javascript/vbscript or with plsql(html table)
i have searched for a way to export data from OracleXe to excel without losing formatting .
So far i have found 2 possible relatively easy ways that i am still researching
(i do not include the ask tom sylk format way of exporting )
1 to export the query to a html table, while using stylesheets for formatting
(using microsoft specific styles)
2. use of javascript/vbscript to fill an array and write this array to excel with use
of visual basic for applications in excel.This also provides charting capabilities.
I am still researching this two ways, and have
encountered a few obstacles (help would be appreciated)
1 the first way:
a. create a button " export to excel"
b. create the following pl/sql procedure:
owa_util.mime_header('application/vnd.ms-excel');
owa_util.http_header_close;
HTP.PRINT('<html>');
HTP.PRINT('<head>');
HTP.PRINT('<meta http-equiv="Content-Type" content="text/html">');
HTP.PRINT('<title>Title of the HTML File</title>');
HTP.PRINT('</head>');
HTP.PRINT('<body TEXT="#000000" BGCOLOR="#FFFFFF">');
HTP.PRINT('<h1>Heading in the HTML File</h1>');
HTP.PRINT('<p>Some text in the HTML file.');
HTP.PRINT('</body>');
HTP.PRINT('</html>');
htmldb_application.g_page_text_generated := true;
htmldb_application.g_unrecoverable_error := true;
c: run the procedure conditionally based on the button "export to excel"
the problem with this way is that using htmldb_application.g_unrecoverable_error := true; is not the ideal way, because it
stops further processing, but if i leave it out, the export doesn't happen.
To export to excel while retaining data formatting you have to use microsoft excel
specific styles(Seedocumentation on the microsoft site)
2.The second way:
a create a pl/sql procedure or sql query.
b use this query to fill a vbscript/javascript array with values
c write these values to excel with use of vba in excel :
the obstacle i encountered here was that i dont know how to export the result of a
query to a visual basic script or javascript array.Using approach 1) works fine for me.
the problem with this way is that using htmldb_application.g_unrecoverable_error := true;
is not the ideal way, because it
stops further processing, but if i leave it out, the export doesn't happen. Why is this a problem?
I created the button to export the excel file on page 1 and created your pl/sql procedure on page 2 using an onload process.
Works fine.
Other approaches for exporting to excel are:
http://www.oracle.com/technology/pub/articles/saternos_broadcast.html
http://htmldb.oracle.com/pls/otn/f?p=18326:54:5685133631021176591::::P54_ID:1962
~Dietmar. -
Hello,
we are trying to save the FM document as HTML using the built in save as functionality. The tables are exported, but no ruling/borders and straddling information is reflected in the output HTML.
Does anybody know if there is a way to make FM to export tables with formatting information or any tool that is able to do that?
Thanks in advance.
Best regards,
ViktorFM10.
I don't have FM10, and haven't tried HTML generation since FM6 or so, but anyone who can help needs to know the version.
but no ruling/borders and straddling information is reflected in the output HTML.
The FM10 on-line help says, in the Troubleshooting and tips on HTML conversion
Make sure the table formats you use have regular ruling lines defined for at least one body row. Otherwise, the HTML tables will have no lines around table cells.
I would expect straddles to be converted to spans, since HTML has attributes for that.
can you suggest some 3rd party sw?
I'm not sure that's necessary or desired. Earlier versions of Frame used WebWorks Publisher. HTML generation is now built in. I don't know if you can even get WWP for FM10, or if it would provide any features not standard in FM10. -
Strategy for converting HTML mockups to JSF
This is a summary of our front-end development process:
- designers create PNG mockups
- UXers create HTML mockups
- developers create final JSF
Now, these HTML mockups are pretty complete. They use all our in-house JavaScript widgets, production CSS files, responsive design, accesibility requirements, SEO-friendly code, proper semantics etc. So basically the final HTML we need from the JSFs has to nail these mockups, otherwise widgets might not work, styles might not appear correctly, accesibility errors might crop in and SEO might suffer. The developers tend to have limited experience in HTML/JavaScript/CSS/accesibility, especially compared to the UXers, so the less they can do to screw up the HTML the better.
With this in mind we tell our developers to just convert the very minimum to JSF. So that basically means forms & form elements and the occasional loop. For example we tell them to avoid h:dataTable and just use the given HTML table and a loop - for some reason (probably lack of experience) we found it very difficult to nail the right HTML in terms of thead, tbody, th and td (or to get a rowspanned "There are no results" output for empty lists). We even tell them to use straight EL instead of h:outputText (unless they really need it) for i18n literals or form outputs. Then there is the added complication in that we use HTML5 (currently using a RenderKit for that). I also prefer to avoid tying my HTML to a given technology: I don't want my JavaScript/CSS to depend on JSF (or PrimeFaces or whatever) output, I want it to depend on what we consider the "correct" HTML in terms of semantics (ie, unobtrusive frameworks).
Would you say this is a correct strategy? I find it helps reduce developer workload (less to convert), reduces front-end errors (less to screw up), and might it also reduce memory footprint on the server (less component tree)? Or am I missing something?Hi!
You can import your html page into project.
1) Click 'File->Add Existing Item->Web Page'.
2) In field 'File or URL' enter path to your html.
3) Check that 'Convert HTML tags to JSF Components' checkbox is checked.
4) Click OK.
Your HTML page will be transformed to JSP page.
Thanks,
Roman. -
Converting html file into zip file and send email attaching zip file
Hi Experts,
I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
So, Now i need to compress the data for less than 7MB.
I decided to convert HTML File into ZIP File.
Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
Correct answer rewarded,
Thanks & Regards,
N. HARISH KUMARHi Experts,
*// HTML_TAB converting into ZIP File
DATA : zip_tool TYPE REF TO cl_abap_zip,
filename TYPE string ,
filename_zip TYPE string .
DATA : t_data_tab TYPE TABLE OF x255,
bin_size TYPE i,
buffer_x TYPE xstring,
buffer_zip TYPE xstring.
filename = text-007. "'HTML_TAB
*describe the attachment
DESCRIBE TABLE html_tab LINES tab_lines.
bin_size = tab_lines * 255.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = bin_size
IMPORTING
buffer = buffer_x
TABLES
binary_tab = html_tab.
IF sy-subrc <> 0.
* message id sy-msgid type sy-msgty number sy-msgno
* with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*create zip tool
CREATE OBJECT zip_tool.
*add binary file
CALL METHOD zip_tool->add
EXPORTING
name = 'FSSAI_MAIL.HTML'
content = buffer_x.
*get binary ZIP file
CALL METHOD zip_tool->save
RECEIVING
zip = buffer_zip.
CLEAR: t_data_tab[],bin_size.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = buffer_zip
IMPORTING
output_length = bin_size
TABLES
binary_tab = html_tab.
Thanks & Regards,
N. HARISH KUMAR -
Please help me capturing data from HTML table
Hello Everyone,
Our Storage subsystem generates a html table containing all LUN allocation for printing. I am saving this html file on disk to collect all table infomation and to put it into a database.
I am having problems extracting table information from the html file. I tried using regular expressions but still not going anywhere. Below is a sample few lines from the html file.
Please your help is appreciated solving this problem how to collect this information from a HTML file or if Java has any class for this type of purpose.
Please advice
arsi
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0068)https://10.210.44.14/cgi/rsConfigPrintDisplay?200702121685061633,FS,2 -->
<HTML><HEAD><TITLE>Volume Assignments</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY><FONT face="Times New Roman,Times" size=2>
<TABLE cellSpacing=1 cellPadding=3 border=2>
<CAPTION>
<H2>Volume Assignments</H2></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><FONT face="Times New Roman,Times" size=2>Volume</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Location</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>LSS</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Volume Type</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Size</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Storage Type</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Host Port</FONT></TH>
<TH><FONT face="Times New Roman,Times" size=2>Host Nicknames</FONT></TH></TR>
<TR vAlign=top>
<TD><FONT face="Times New Roman,Times" size=2>02A-25015</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>Device Adapter Pair 1</FONT>
<BR><FONT face="Times New Roman,Times" size=2>Cluster 1, Loop A</FONT>
<BR><FONT face="Times New Roman,Times" size=2>Array 2, Vol 042</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>0x10</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>Open System</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>000.9 GB</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>RAID-5 Array</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>Fibre Channel</FONT>
<BR><FONT face="Times New Roman,Times" size=2>ID 00, LUN 502A</FONT></TD>
<TD><FONT face="Times New Roman,Times" size=2>R1L01_0,</FONT> <BR><FONT
face="Times New Roman,Times" size=2>R1L01_1,</FONT> <BR><FONT
face="Times New Roman,Times" size=2>R2L08_1,</FONT> <BR><FONT
face="Times New Roman,Times" size=2>R2L08_0,</FONT> <BR><FONT
face="Times New Roman,Times" size=2>S3L06_0, S3L06_</FONT> <BR><FONT
face="Times New Roman,Times" size=2>1, S4L06_0,</FONT> <BR><FONT
face="Times New Roman,Times" size=2>S4L06_1</FONT></TD></TR>
<TR vAlign=top>i wrote the programme for 2 stepper motor as attachment file below. they are run. but when the "start" button is ON then the "emergency stop" is not effects.
for "emergency stop" functions, i used 4 limit contactors. if one of them is "on" then the programme will be stop.
but in fact, when the system is running, i can not stop if one of the limit contacor is on.
cuold you please help me to do with this problem.
thanks
Attachments:
EMERGENCY STOP.vi 435 KB
toolpaths-ut.vi 64 KB
parallel program motor 1,2.vi 96 KB -
Is there a control or does anyone have a creative way to
mimic the looks of a HTML table? I just spent an hour setting up a
grid and putting in input boxes inside of it. But the Flex IDE
doesn't like that and it says I am trying to convert the input box
to a grid item.
All I want is a way to layout my input boxes in a way that
looks like they are in a table that has 4 rows and 10 columns.
Thanks,
ZIn between the column tags of your datagrid do this:
-
First off, let me say Hey, I'm new, I'm Jared... thanks to everyone who puts in effort to help people on these forums and I'll be publicly grateful for any assistance. As one who is involved in a great deal of community support I know the effort it takes and y'all rock.
Now my issue : Has anyone figured out a way to get Numbers to turn an HTML table into a spreadsheet without some sort of external script? Does anyone have such an external script?
I'm so bummed I could cry... I've been going thru a great deal of culture shock having been an Excel user for many years and switching to Numbers a while back. Having been in IT and software development for the last 16 years, I came to rely on Excel to be able to split any delimited data into columns on the fly based on my own random delimiter. I also came to rely on Excel to be able to convert any table-style input to a spreadsheet format. Because of these two factors, Excel has been one of my go-to tools over the years for all sorts of analysis.
Enter Numbers... finally, Apple's putting out a spreadsheet! YAY! Oh, ****, wait... hrm. The two main features that make Excel useful to me aren't there.
I have lots of friends that have switch to OS X in the last year, and I've chewed them all out for saying "But in Windows I could..." as they were transitioning. "You're not ON Windows, this is different, get used to it and do what THIS does. Forget Windows... other than knowing how to use a mouse and a keyboard, very little will transfer from one to the other." The problem is that now I'm finding myself sorely tempted to do something similar. "But with Excel I could..!" Ugh!
PS - I exaggerated about crying, but not by much.jrypkahauer wrote:
Thanks, Koenig...
You're mostly right. I was copying the raw source from the View Source screen, which works in Excel because it converts a set of <table>...</table> tags to the correct values before pasting into the spreadsheet. You can also open a .html file containing a <table /> tag set with Excel and it will open as a spreadsheet... so while I can do what you're suggesting with Firefox and it will work, that's only part of the issue.
I really did mean that I think Numbers should support tabular data.
It does. I import daily TSV files (.txt extension required)
Really, HTML tables are just tabular XML representations, so it makes sense to me that Numbers should support not just HTML <table /> tag sets but any XML-based tabular data.
In the one which I saw, the tags where extremely variable ones.
All of us may import them using a simple protocol:
open the file in Firefox
Copy paste the table from Firefox, paste in Numbers.
No need to add complementary code in Numbers. Remember, MacOS X is multitask aware.
At this time the only case where I was annoyed is files in which values where separated by variable chunks of spaces. I already wrote that I feel that this kind of file which is a remainder of the typewriter era is perfectly foolish.
Yvan KOENIG (from FRANCE lundi 13 octobre 2008 19:32:30) -
How to convert database table into xml file
Hi.
How to convert database table into XML file in Oracle HTML DB.
Please let me know.
Thanks.This not really a specific APEX question... but I search the database forum and found this thread which I think will help
Exporting Oracle table to XML
If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
Hope this helps
Chris -
String size limitations, HTML table
Post Author: Jeff Kulbeth
CA Forum: General
I am currently using CR 8.5 and am aware of string size limitations... 254 characters max. I'm looking at CR XI and can't find any data on string size limitations. A few questions:
1) We're considering database fields larger than 254 characters, and would like to use CR to parse the field. In CR XI, what's the maximum string length that can return from a table and still be used in a formula? Can a Memo field be used in a formula in CR XI?
2) Once I've parsed the fields in the database table, I'll need to return formatted strings back to the report. The strings will be larger than 254 character ... What's the maximum string size allowed in CR XI?
3) Somewhat related, but not entirely: Have any patches been released that provide HTML table interpretation in CR XI?
Thanks for the help,
Jeff KulbethPost Author: V361
CA Forum: General
The maximum length of a String constant, a String value held by a String variable, a String value returned by a function or a String element of a String array is 65,534 characters.
The maximum size of an array is 1000 elements.
The maximum number of arguments to a function is 1000. (This applies to functions that can have an indefinite number of arguments such as Choose).
Not sure about the HTML ? -
Hi,
I have some html table and data (reports) which are generated by JSP. I want to provide a button for exporting the report content to pdf. I found many tutorials in converting html data to excel. But I want it to be exported to PDF. How can i do it?
thanxYou can use libraries like:
iText, Actuate eSperadsheet Reporting engine to do the Job for you.
Maybe you are looking for
-
Hi Guys, Can anyone explain how can i get the adress from OB10 T-code and use in the scrpit and print program Thanks,
-
Every since I installed 7.0 my ipod 30gig crashed and when I try to restore it to reads ipod cannot be restored an unknown error occured (1418) Someone please help me.
-
Can't change IMAP to POP3 in BIS?
I have a number of email accounts set up with BIS and on my 9700. Since I switched to the 9700 from y 8310 (ATT), some of my email POP accounts are listed on BIS as IMAP. Because of this the port is wrong. I uncheck SSL (which isn't needed), but I ca
-
Handle errors/exceptions in WS_DELIVERY_UPDATE_2
hi all, I am tryng to do batch split using 'WS_DELIVERY_UPDATE_2'. it did split in few cases. but my problem is when executing in foreground it there is error in input data the function module just throws a 'E' error and program stops. how to handle
-
Reinstalling 10.5.8
I think I need to archive and reinstall my operating system. My install disc is 10.5.1 and I have downloaded upgrades so I now have 10.5.8. Do I just install the 10.5.1 and then down load the upgrades. I have looked for 10.5.8 discs and could find no