| | |
Jsp exporting to word
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
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
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.
JSP Syntax (Toggle Plain Text)
<%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.
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
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
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






