My website contains a news tab, which will show hyperlinks of news. On clicking link, user can read entire link.
But the news are in marathi language(created in word doc.)
Displating it directly through JSP is not feasible as user may not have font installed on client machine.
Can you please suggest me an alternative way for displaying marathi data.

Can the document be converted into image which can then displayed in JSP?
If yes,how.

Please help, i'm stuck.
Waiting for a reply.
Thank you.

An option would be to use the Java library iText to convert the given text to PDF which can be then written back to the browser. Generating image from text seems to be a pretty complicated task; something which I haven't personally tried out. Maybe this article will help you out.

I would personally go with the PDF approach.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.