It's not a secret anymore!
The moose likes Struts and the fly likes Creation of Image from HTML string in Action Class for sending email as Image. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Creation of Image from HTML string in Action Class for sending email as Image." Watch "Creation of Image from HTML string in Action Class for sending email as Image." New topic
Author

Creation of Image from HTML string in Action Class for sending email as Image.

mark watson
Ranch Hand

Joined: May 20, 2008
Posts: 44
Hi,

Task: Send an Image as email, Image needs to derived from the HTML String in the Action Class.

Ex: HTML String is



If anybody has any tool that is best fit to do this kind of functionality please let me know or if you have any other solutions.

Thanks,
Mark
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8259

Given that the HTML in your first example is poorly-formed, I'd suspect that's the cause of your problems.
If the HTML is well-formed, have a look at this example from our FAQ.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: jrebel
 
subject: Creation of Image from HTML string in Action Class for sending email as Image.
 
Similar Threads
Image as part of HTML email
User Reporting
What Is class="input"?
stylesheet effect are not showing in jsp page
A question of Sums