/    Sign up×
Community /Pin to ProfileBookmark

Generate a .PDF and .xls on a fly from a HTML page..

I have a HTML link, which opens a .psp page( A .psp webpage is like a .jsp page). This .psp page brings data back in a HTML table, which is in turn returned from an Oracle database.

I have seen this happen a lot on the web, but am not sure how to do it..

What is want to do is, have a view PDF button on the the web report and when they click on that button export all the data that is contained on the webpage into a PDF format in a seperate window. The PDF will have to be generated on the fly.

I am not even sure, what all softwares do i need, if i need one?

I have Acrobat Distiller 5.0 and Adobe Acrobat 5.0 on my machine, if i need any of them?

Also, i want to give them a button that says view in EXCEL, and when they click on this button, it should export all the data into excel.. (The closest i have seen on web is it opens as a CSV(comma seperated value) file)

Any ideas on how to do it?

Thank you.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliNov 06.2003 — You must not cross post.

Thanks
×

Success!

Help @cakeday spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...