File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Servlet --> WORD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Servlet --> WORD" Watch "Servlet --> WORD" New topic

Servlet --> WORD

Ken Shamrock
Ranch Hand

Joined: Jan 23, 2002
Posts: 139
For Servlet to generate a word file with full text or tables, it works fine.
What if I want to insert an image into the WORD file? How can I do that without 1) using an external API 2) use <img src=http:///...gif>

Thanks everyone who helped me
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
So how about a little JNI? Find the dll that Microsoft uses and call it from your app.
This has nothing to do with Servlets really. Moving to Intermediate.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Servlet --> WORD
It's not a secret anymore!