•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 374,177 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,434 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 401 | Replies: 2
![]() |
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I'm a newbie to this forum and I wanna ask a few questions
How can I export using jsp, data that are store in sql database to word or excel or even pdf? Is it possible to be done?
How can in jsp to provide into my webpage an editor toolbar like this I'm using now to post my thread
? Is it possible to be done or are already made and just import them?
Can anyone help me with this two questions, by reference or any book?
Thanks
I'm a newbie to this forum and I wanna ask a few questions

How can I export using jsp, data that are store in sql database to word or excel or even pdf? Is it possible to be done?
How can in jsp to provide into my webpage an editor toolbar like this I'm using now to post my thread
? Is it possible to be done or are already made and just import them?Can anyone help me with this two questions, by reference or any book?
Thanks
•
•
Join Date: Mar 2008
Posts: 94
Reputation:
Rep Power: 1
Solved Threads: 9
I can answer your first question, just insert this to the top of your jsp file which is going to dipslay your information
And when u go to that page a box will pop up asking u if u would like to save the file.
Regarding your second question, i m not sure, as i too am relatively new to java and jsp.
<%response.setHeader("Content-Disposition","attachment;filename=fileName.xls"); %>And when u go to that page a box will pop up asking u if u would like to save the file.
Regarding your second question, i m not sure, as i too am relatively new to java and jsp.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,588
Reputation:
Rep Power: 18
Solved Threads: 187
not something you should use JSP for...
It's for outputting text data, not for anything else.
And your second question is all about html, javascript, and CSS. Best ask that in a web design forum.
It's for outputting text data, not for anything else.
And your second question is all about html, javascript, and CSS. Best ask that in a web design forum.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Other Threads in the JSP Forum
- Previous Thread: jsp code
- Next Thread: how to select the isbn number in table and get all books of isbn selected



Linear Mode