This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes how to export PDF report within the Arabic and English data through jsp code. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to export PDF report within the Arabic and English data through jsp code." Watch "how to export PDF report within the Arabic and English data through jsp code." New topic
Author

how to export PDF report within the Arabic and English data through jsp code.

zita lakshmi
Ranch Hand

Joined: Nov 13, 2009
Posts: 37
Hi


I have the requirement for the following four steps of process.

1) In first step webpage get the arabic data and stored into database correct format of arabic data.

2) In the second step retrieve the arabic data from database and shows in webpage.

3) In the third step shows the report on webpage.

4) In the fourth step click the button that report page dynamically create pdf format file.



I have tried to all steps and that process are,

1) In the first step, i have to set the [charset=utf-8 ,page-encoding=utf8] in jsp code and set the table and
each field [collation=utf-8generic-ci].It accept arabic data, but it stored in different format (hash,ampasand symbol and five digit number).

2) In the database have the different (hash,ampasand symbol and five digit number) format of data(original data is arabic),
but it retrieve and shows the data in webpage is correct arabic format of data.

3) In the database have the different (hash,ampasand symbol and five digit number) format of data(original data is arabic),
but it shows the report in webpage is correct arabic format of data.


4) In the database have the different (hash,ampasand symbol and five digit number) format of data(original data is arabic).
I have tried to export pdf format using itext jar file. It directly retrive the datas from the database. so,it shown the different
format of data (hash,ampasand symbol and five digit number).


Please guide me for the following process.


In the button click event that webpage are dynamically export the pdf format file is possible or not.
Otherwise that pdf file get the data from database(hash,ampasand symbol and five digit number) directly.

so guide me, how to convert the correct format of arabic data into pdf file.It possible or not.


Also I have tried to jasper report in same problem. But, database have the correct arabic data means it shows the ??? in jasper report .


which one i will use itext or jasper report. and how can i solve the problem.Please guide me.


Thanks in advance

Regards,

zita.

































Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

I can only offer some small advice on the ??? part, read http://www.joelonsoftware.com/articles/Unicode.html


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to export PDF report within the Arabic and English data through jsp code.
 
Similar Threads
html to pdf conversion
Which java pdf library is best ?
How to insert arabic letters in MySql through jsp
Jasper Reports - empty report
integrating iReport with my JSP Project