• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF and JAVAMail  RSS feed

 
Ethan Gur
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I'm new to JSF, but I have a general question regarding JSF and JAVAMail.
As I understand, the jsp pages get their data from java beans. However a MimeMessage object is not one.
How will a web client written using JSF can retrieve data from a MimeMessage (subject, date, from, to, content etc.)? Can anyone point to articles / examples in this subject?

Thanks
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hide the mime message as an object attribute in a different backing bean. Create setters and getters for the desired properties that operate on the mimemessage.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!