This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes DisplayTag exporting to PDF.. shows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "DisplayTag exporting to PDF.. shows "code" ?" Watch "DisplayTag exporting to PDF.. shows "code" ?" New topic
Author

DisplayTag exporting to PDF.. shows "code" ?

luis Fernandez
Greenhorn

Joined: May 29, 2008
Posts: 16
Hello!

I am new in this Forum

I am using displayTag 1.1.1 and iText-2.0.8

when i try to export pages, it only exports "code" (it happens in RTF,PDF..)

An example:



I import of course: <%@taglib uri="http://displaytag.sf.net" prefix="display"%>

<display:table name="preguntas" id="preg" pagesize="5" export="true" requestURIcontext="true" requestURI="/ControllerServlet">

in displaytag.properties i have:
export.pdf.class=org.displaytag.export.DefaultPdfExportView

I don't know how to print in wysiwyg mode.. It seems it does not goes through binary mode

Some idea please. Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"luison luison ",
Please check your private messages regarding an important administrative matter.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
GeeCON Prague 2014
 
subject: DisplayTag exporting to PDF.. shows "code" ?