html - how to output sql query results from a jsp webpage to a .RTF file? -
I am trying to output my SQL query results to a .rtt file in my JSP file. When I made my statement in my JSP, I can load the results through Apache Tomcat from my search, but I can not find it in the .rtf file to do this. It only produces the quotation statement below, not its results.
& lt; Sql: query data source = "$ {bookdB}" var = "result" & gt; Choose from company *; & Lt; / SQL: Query & gt;
It may be that if I print the results first and then load them in .rtf, then it will work. Anyone have any ideas, any help would be appreciated, thanks
. JSP for R.T.F. Rename means that it is no longer a JSP file and it will not run as a server server. In addition, an RTF file is more than a text file anyway, it has a fixed format.
You have to create servlet instead of JSP, and you should use a library which creates these types of files, like you and the mime type of different file formats to the content type of the response object Need to know how to set up?
Comments
Post a Comment